Flush the rules of iptables - Clear / Remove iptables rules.

Before doing general cleaning make sure you know how to configure it according to your needs

Clear / Debian iptables rules .

centos

The following command lines in the following order:

1. iptables-P INPUT ACCEPT 2. iptables-P FORWARD ACCEPT 3. iptables-P OUTPUT ACCEPT 4. iptables-F 5. iptables-X 6. iptables-t nat-F 7. iptables-t nat-X 8. iptables-t mangle-F 9. iptables-t mangle-X

iptables-help :

-P (policy) = chain target

-Flush-F [chain] Delete all rules in chain or all chains

-Table-t table table to handled (default: `filter ')

-X [chain] Delete a user-defined chain

Flush the rules of iptables - Clear / Remove iptables rules.

About the author

Stealth LP

Founder and editor Stealth SettingsIn 2006 date.
Experience on Linux operating systems (especially CentOS), Mac OS X, Windows XP> Windows 10 and WordPress (CMS).

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment is processed.