Przed przystąpieniem do ogólnego sprzątania iptables upewnij się, że wiesz, jak skonfigurować go zgodnie ze swoimi potrzebami.
Jasne Centos/Reguły iptables Debiana .

Następujące wiersze poleceń w poniższej kolejności:
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 –pomoc :
-P (polityka) = cel łańcucha
–kolor -F [łańcuch] Usuń wszystkie reguły w łańcuchu lub wszystkie łańcuchy
-table -t tabela tabela do manipulacji (domyślnie: `filter')
-X [łańcuch] Usuń łańcuch zdefiniowany przez użytkownika