User Tools

Site Tools


sysadminery:wireguard

Differences

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

Link to this comparison view

sysadminery:wireguard [2023/03/06 15:37] – created - external edit 127.0.0.1sysadminery:wireguard [2024/02/29 17:10] (current) adam
Line 27: Line 27:
     PrivateKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=     PrivateKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
     Address = 10.8.0.2/24     Address = 10.8.0.2/24
-    Address = fd24:609a:6c18::2/64+    Address = fd0d:86fa:c3bc::2/64
          
     [Peer]     [Peer]
     PublicKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=     PublicKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
-    AllowedIPs = 10.8.0.0/24, fd24:609a:6c18::/64 +    AllowedIPs = 10.8.0.0/24, fd0d:86fa:c3bc::/64 
-    Endpoint = 203.0.113.1:51820+    Endpoint = 45.55.54.196:51820
  
 notice: allowed IPs is a comma-separated list. AND, because it's masked, it's a range. notice: allowed IPs is a comma-separated list. AND, because it's masked, it's a range.
Line 48: Line 48:
  
 check status on both with `sudo wg` check status on both with `sudo wg`
 +
 +note: since you're routing everything over the "center" of your "wheel", the "spokes" can find each other through it. So most of the time, you only ever need 1 peer. (I suspect android doesn't work correctly with this, yet again: PHOOOOONES!)
sysadminery/wireguard.1678117056.txt.gz · Last modified: 2023/03/06 15:37 by 127.0.0.1