Code
frisch aus der wg0.conf vom VPS rauskopiert. wg0 ist aktuell up
[Interface]
Address = 10.0.0.1/24
SaveConfig = true
PostUp = iptables -A FORWARD -i wg0 -j ACCEPT
PostDown = iptables -D FORWARD -i wg0 -j ACCEPT
ListenPort = 51820
PrivateKey = KEY
[Peer]
PublicKey = KEY
AllowedIPs = 10.0.0.1/24, 192.168.178.0/24
Endpoint = 94.31.84.18:46060
PersistentKeepalive = 25
[Peer]
PublicKey = KEY
AllowedIPs = 10.0.0.0/24
Endpoint = 94.31.84.18:39307
PersistentKeepalive = 25
Alles anzeigen