iptables Nat Configuration
Hai all,
I have configured Nat in this way , Actually i don't known meaning of this following line , can any tell me meaning of these.....
iptables --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE
iptables --append FORWARD --in-interface eth2 -j ACCEPT
I am using two Ethernet card , one for getting internet from isp and another one for connecting to the Lan......
I don't how it works , tell me meaning of the above line......
|