root ~/wgd# cat wg0.conf.server
[Interface]
ListenPort = 21211
PrivateKey = iM7w5NQA5N2rbQKzfvzPOcRgfWvh7ZghSgbXBZYrmG8=
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE;
[Peer]
PublicKey = GDd8UROSQrVa+ivK1zHqPl/fdxje+FVkojrfXpNXCW4=
AllowedIPs =
10.7.0.2/32Endpoint =
35.177.21.84:21211PersistentKeepalive = 10