Damus
GHOST profile picture
GHOST
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