Link to home
Start Free TrialLog in
Avatar of its_ns_04
its_ns_04

asked on

iptables

Hi,

I have some rules as below:
-A POSTROUTING -s 192.168.4.14 -p udp -m udp --dport 9112 -j SNAT --to-source 202.52.225.9
and
-A POSTROUTING -s 192.168.1.0/255.255.255.0 -j MASQUERADE

I will highly appreciate if someone can help me understand it.  I am not getting where this POSTROUTING chain does..
Avatar of dontdig
dontdig

this is example of NAT first one belongs to Source Nat and second is for jump target MASQUERADE which is used for sharing internet from an public ip to local lan

though i dont know much about NAT hopefully some other will assist u better soon :-)
ASKER CERTIFIED SOLUTION
Avatar of Arty K
Arty K
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial