Ta bort reglerna i iptables – Rensa/ta bort reglerna iptables.

Innan du gör allmän städning i se till att du vet hur du konfigurerar den efter dina behov.

Rensa /Debian iptables regler .

centos

Följande kommandorader i ordningen nedan:

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 –hjälp :

-P (policy) = kedjemål

–flush -F [kedja] Ta bort alla regler i kedjan eller alla kedjor

-table -t tabelltabell att manipulera (standard: `filter')

-X [kedja] Ta bort en användardefinierad kedja

Grundare och redaktör 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).

Home Din källa till IT -tutorials, användbara tips och nyheter. Ta bort reglerna i iptables – Rensa/ta bort reglerna iptables.
Lämna en kommentar