New answers tagged

1

Outgoing traffic use iptables -t nat -A POSTROUTING ... And to specify source address use -j SNAT ip iptables -t nat -A POSTROUTING -s 192.168.0.12 -j SNAT 103.143.72.84 iptables -t nat -A POSTROUTING -s 192.168.0.13 -j SNAT 103.143.72.25 Note that these must be before global MASQUERADE if you have it for that range. If all IPs are linear ranges then there ...


Top 50 recent answers are included