SNAT Now to add the rule iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE or iptables -t nat -A POSTROUTING -o ppp0 -j SNAT --to 192.168.99.22 This will perform SNAT (or MASQUERADE) on all connections going out via ppp0 (determined by the routinglookup)