Samouczki Linux

przez

1

Usuń zasady w iptables – Wyczyść/usuń reguły IPTABLES.

Usuń zasady w iptables – Wyczyść/usuń reguły IPTABLES.

1
Samouczki Linux

Przed przystąpieniem do ogólnego sprzątania upewnij się, że wiesz, jak skonfigurować go zgodnie ze swoimi potrzebami.

Jasne /Reguły iptables Debiana .

centos

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

Usuń zasady w iptables – Wyczyść/usuń reguły IPTABLES.

Może zainteresują Cię także...

Jedna myśl dalej “Usuń zasady w iptables – Wyczyść/usuń reguły IPTABLES.

Zostaw odpowiedź

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *