AllowedIPs = 10.0.0.0/24
написать AllowedIPs = 10.0.0.0/24,0.0.0.0/0
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
ip route add <ip> via 11.0.0.1 dev wg0
ip route add <ip> via 11.0.0.1 dev wg1
Пример части wg0.conf
[Interface]
Address = 10.0.0.1/24
ListenPort = 51830
PrivateKey = key
PostUp = iptables -A FORWARD -i eth0 -o wg0 -j ACCEPT
PostDown = iptables -D FORWARD -i eth0 -o wg0 -j ACCEPT
PostUp = iptables -A FORWARD -i wg0 -j ACCEPT
PostDown = iptables -D FORWARD -i wg0 -j ACCEPT
PostUp = iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
[Peer]
PublicKey = key
AllowedIPs = 10.0.0.2/32,0.0.0.0/0