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:23] – [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 |
- | + | ||
- | Setup VPN | + | |
- | + | ||
- | ==Host | + | |
< | < | ||
ip link add dev wg0 type wireguard | ip link add dev wg0 type wireguard | ||
</ | </ | ||
- | ==Host 1== | + | __Host 1__ |
< | < | ||
Line 32: | Line 31: | ||
</ | </ | ||
- | ==Host 2== | + | __Host 2__ |
< | < | ||
Line 38: | Line 37: | ||
</ | </ | ||
- | ==Host | + | __Host |
< | < | ||
Line 64: | Line 63: | ||
</ | </ | ||
- | Create VPN | + | ==Create VPN== |
+ | |||
+ | __Host 1 and Host 2__ | ||
< | < | ||
Line 71: | Line 72: | ||
</ | </ | ||
- | + | __Host 1__ | |
- | ==Host 1== | + | |
< | < | ||
Line 84: | Line 84: | ||
</ | </ | ||
- | ==Host 2== | + | __Host 2__ |
< | < | ||
Line 96: | 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:// | ||
+ |