Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:wireguard [2024/09/13 12:22] – [Log] darrontools: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
 </code> </code>
 +
  
  
 ===Setup=== ===Setup===
  
-[[https://www.wireguard.com/quickstart/|Guide]].+==Configure VPN==
  
-===Log=== +__Host 1 and Host 2__
- +
-==Host 1 and Host 2==+
 <code> <code>
 ip link add dev wg0 type wireguard ip link add dev wg0 type wireguard
 </code> </code>
  
-==Host 1==+__Host 1__
  
 <code> <code>
Line 30: Line 31:
 </code> </code>
  
-==Host 2==+__Host 2__
  
 <code> <code>
Line 36: Line 37:
 </code> </code>
  
-==Host 1 and Host 2==+__Host 1 and Host 2__
  
 <code> <code>
Line 61: Line 62:
 Endpoint x.x.x.x:1234 Endpoint x.x.x.x:1234
 </code> </code>
 +
 +==Create VPN==
 +
 +__Host 1 and Host 2__
  
 <code> <code>
Line 67: Line 72:
 </code> </code>
  
- +__Host 1__
-==Host 1==+
  
 <code> <code>
Line 80: Line 84:
 </code> </code>
  
-==Host 2==+__Host 2__
  
 <code> <code>
Line 92: Line 96:
 </code> </code>
  
-==Host 1 and Host 2==+==Destroy VPN== 
 + 
 +__Host 1 and Host 2__
  
-Destroy VPN 
  
 <code> <code>
 ip link delete dev wg0 ip link delete dev wg0
 </code> </code>
 +
 +===Resources===
 +
 +[[https://www.wireguard.com/quickstart/|Setup guide]].
 +
 +[[https://www.wireguard.com/install/|Install guide]]
 +