Jump to content

Tutorial Stergere Reguli Din Iptables - Clear/remove Iptables Rules.


Recommended Posts

Posted

Inainte de a face curatenie generala in iptables asigurati-va ca stiti sa-l configurati in functie de nevoile dumneavoastra.

Clear CentOS/Debian iptables rules:

bg_fp_centos.png

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 -Xiptables –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[/code]

Numai bine :pct2: !

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.