disable NAT in linux

Kalpana's Avatar, Join Date: Jun 2007
Go4Expert Member
how to disable NAT in linux?
0
pradeep's Avatar, Join Date: Apr 2005
Team Leader
Code:
iptables -t nat -F
0
Kalpana's Avatar, Join Date: Jun 2007
Go4Expert Member
thanks pradeep...
0
Kalpana's Avatar, Join Date: Jun 2007
Go4Expert Member
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]...
0
Kalpana's Avatar, Join Date: Jun 2007
Go4Expert Member
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..]