Sterge regulile din iptables – Clear/Remove iptables rules.

Inainte sa faceti curatenie generala in asigurati-va ca stiti sa-l configurati in functie de nevoile dvs.

Clear /Debian iptables rules .

centos

Urmatoarele linii de comanda in ordinea de mai jos:

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 manipulate (default: `filter’)

-X [chain]          Delete a user-defined chain

Sterge regulile din iptables – Clear/Remove iptables rules.

About the author

Stealth L.P.

Fondator si editor Stealth Settings, din 2006 pana in prezent.
Experienta pe sistemele de operare Linux (in special CentOS), Mac OS X , Windows XP > Windows 10 si WordPress (CMS).

Leave a Comment

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