0xM
· 2w
Thanks for your quick reply, I can confirm sudo sysctl net.ipv4.ip_forward correctly returns 1, i’m now leveraging ai to solve the problem and is suggesting checking sudo iptables -t nat -L POSTROUT...
Add the subnet and forwarding rules
sudo iptables -t nat -A POSTROUTING -s 10.6.0.0/24 -o enp0s10 -j MASQUERADE
sudo iptables -A FORWARD -i wg0 -o enp0s10 -j ACCEPT
sudo iptables -A FORWARD -i enp0s10 -o wg0 -m state --state RELATED,ESTABLISHED -j ACCEPT
If it works add it to your WireGuard rules so it stays persistent