Wednesday, July 11, 2012

Disable IPtables in Debian

How to Stop IPtables in Debian.

Use below script or command to flush the Iptables rule.


  • update-rc.d -f iptables remove
OR

iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT

1 comment:

  1. When I originally commented I appear to have clicked on
    the -Notify me when new comments are added- checkbox and now whenever a comment is added I get four emails with the same comment.
    Is there a way you can remove me from that service? Thanks!
    Here is my web site : debian php lifetime

    ReplyDelete