Home | Mirror | Search

6. MASQUERADE

iptables–tnat–APOSTROUTING–d192.168.1.0/24–s0/0–oppp0–jMASQUERD
iptables–tnat–APOSTROUTING–s192.168.1.0/24-jSNAT–to202.103.224.58	
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE 	
		

#ip route add via ppp0 dev eth0
#ip route add via 202.103.224.58 dev eth0		
		
comments powered by Disqus