Ich würde fast behaupten schuldig im Sinne der Anklage -.-
Code
VPS Server Config (Ionos VPS)
[Interface]
PrivateKey = <PrivateKeyWireGuardVPS>
Address = 10.0.0.1/24
SaveConfig = true
PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o ens6 -j MASQUERADE
PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o ens6 -j MASQUERADE
ListenPort = 51820
[Peer]
PublicKey = <PublicKeyWireGuardRaspberry>
AllowedIPs = 10.0.0.0/24, 192.168.178.0/24
PersistentKeepalive = 25
[Peer]
PublicKey = <PublicKeyWireGuardHandy>
AllowedIPs = 10.0.0.0/24,
PersistentKeepalive = 25
VPN Client Config (Raspberry)
[Interface]
PrivateKey = <PrivateKeyWireGuardRaspberry>
Address = 10.0.0.3/24
SaveConfig = true
PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
[Peer]
PublicKey = <PublicKeyWireGuardAmVPS>
Endpoint = <VPS_IP_Adresse>:51820
AllowedIPs = 10.0.0.0/24
PersistentKeepalive = 25
Alles anzeigen