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:20] – [WireGuard] 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 91: | Line 95: | ||
rtt min/ | rtt min/ | ||
</ | </ | ||
+ | |||
+ | ==Destroy VPN== | ||
+ | |||
+ | __Host 1 and Host 2__ | ||
+ | |||
+ | |||
+ | < | ||
+ | ip link delete dev wg0 | ||
+ | </ | ||
+ | |||
+ | ===Resources=== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ |