
On 28 March 2014 12:50, Thuo Wilson <lixton@gmail.com> wrote:
iptables -t nat -A POSTROUTING -s 10.10.20/255.255.255.0 -o eth0 -j MASQUERADE *OR the same principle here but you need to change SNAT ip everytime u change provider or WAN ip* iptables -t nat -A POSTROUTING -s 10.10.20/255.255.255.0 -j SNAT --to-source 192.168.6.142
Grrr ---makosa ya network address iptables -t nat -A POSTROUTING -s 10.10.20.0/255.255.255.0 -o eth0 -j MASQUERADE *OR the same principle here but you need to change SNAT ip everytime u change provider or WAN ip* iptables -t nat -A POSTROUTING -s 10.10.20.0/255.255.255.0 -j SNAT --to-source 192.168.6.142 This is why i love shortcuts: iptables -t nat -A POSTROUTING -s 10.10.20.0/24 <http://255.255.255.0/> -o eth0 -j MASQUERADE *OR the same principle here but you need to change SNAT ip everytime u change provider or WAN ip* iptables -t nat -A POSTROUTING -s 10.10.20.0/24 <http://255.255.255.0/> -j SNAT --to-source 192.168.6.142 Kind Regards, Wilson./