disable NAT in linux

Go4Expert Member
26Sep2007,14:43   #1
Kalpana's Avatar
how to disable NAT in linux?
Team Leader
27Sep2007,13:38   #2
pradeep's Avatar
Code:
iptables -t nat -F
Go4Expert Member
27Sep2007,14:13   #3
Kalpana's Avatar
thanks pradeep...
Go4Expert Member
27Sep2007,14:18   #4
Kalpana's Avatar
But do let me know whether the command u told will disable NAT and NAPT also ?
and is there any way we can disable static and dynamic NAT using iptables..? [apart from deleting the NAT rules in the NAT table]...
Go4Expert Member
8Apr2008,14:59   #5
Kalpana's Avatar
The rule "iptables -t nat -F" would delete all the rules present in the iptables which would include all NAT & NAPT regardless of whether they are static or dynamic....

[Just a finishing information to close this discussion..]