Jump to content

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


Recommended Posts

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:


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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.