Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:wireguard [2024/09/13 12:22] – [Log] darron | tools:wireguard [2024/09/13 13:03] (current) – darron | ||
---|---|---|---|
Line 3: | Line 3: | ||
Easy to setup VPN | Easy to setup VPN | ||
===Install=== | ===Install=== | ||
+ | |||
+ | == Linux== | ||
This install may replace the kernel, if so, reboot afterward. | This install may replace the kernel, if so, reboot afterward. | ||
Line 11: | Line 13: | ||
apt install wireguard | apt install wireguard | ||
</ | </ | ||
+ | |||
===Setup=== | ===Setup=== | ||
- | [[https:// | + | ==Configure VPN== |
- | ===Log=== | + | __Host |
- | + | ||
- | ==Host | + | |
< | < | ||
ip link add dev wg0 type wireguard | ip link add dev wg0 type wireguard | ||
</ | </ | ||
- | ==Host 1== | + | __Host 1__ |
< | < | ||
Line 30: | Line 31: | ||
</ | </ | ||
- | ==Host 2== | + | __Host 2__ |
< | < | ||
Line 36: | Line 37: | ||
</ | </ | ||
- | ==Host | + | __Host |
< | < | ||
Line 61: | Line 62: | ||
Endpoint x.x.x.x: | Endpoint x.x.x.x: | ||
</ | </ | ||
+ | |||
+ | ==Create VPN== | ||
+ | |||
+ | __Host 1 and Host 2__ | ||
< | < | ||
Line 67: | Line 72: | ||
</ | </ | ||
- | + | __Host 1__ | |
- | ==Host 1== | + | |
< | < | ||
Line 80: | Line 84: | ||
</ | </ | ||
- | ==Host 2== | + | __Host 2__ |
< | < | ||
Line 92: | Line 96: | ||
</ | </ | ||
- | ==Host 1 and Host 2== | + | ==Destroy VPN== |
+ | |||
+ | __Host | ||
- | Destroy VPN | ||
< | < | ||
ip link delete dev wg0 | ip link delete dev wg0 | ||
</ | </ | ||
+ | |||
+ | ===Resources=== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ |