Wyczyść reguły iptables - Wyczyść / usuń reguły iptables.

Przedtem generalne sprzątanie upewnij się, że wiesz, jak go skonfigurować według własnych potrzeb

Wyczyść / Debian reguły iptables .

centos

Poniższe wiersze polecenia 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) = łańcuch target

–Flush -F [łańcuch] Usuwa wszystkie reguły w łańcuchu lub wszystkie łańcuchy

-table -t tabela stół do manipulowania (default: `filtr ')

-X [łańcuch] Usuń łańcuch zdefiniowany przez użytkownika

Założyciel i redaktor Stealth Settings, od 2006 roku do chwili obecnej. Doświadczenie w systemach operacyjnych Linux (Zwłaszcza CentOS), Mac OS X, Windows XP> Windows 10 si WordPress (CMS).

jak » Linux » Wyczyść reguły iptables - Wyczyść / usuń reguły iptables.
Zostaw komentarz