gabberhead wrotei have a vps server with openvpn
gabberhead wrote-A POSTROUTING -s 192.168.244.0/24 -o eth0 -j MASQUERADE
As the server is a VPS you
may need to use a different iptables rule:
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j SNAT --to-source 12.34.56.78
Change these values accordingly:
- -s 10.8.0.0/24 -- change to your VPN subnet
- --to-source 12.34.56.78 -- change to your outgoing IP