iptablesルールのクリア-iptablesルールのクリア/削除。

一般的な洗浄を行う前に あなたのニーズに応じて、それを構成する方法を知っていることを確認

クリア / Debianでiptablesのルール .

centos

次の順序で次のコマンドライン:

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 –ヘルプ :

-P(ポリシー)=チェーン target

–flush -F [chain]チェーン内のすべてのルールまたはすべてのチェーンを削除します

-table -t操作するテーブルテーブル(default: `フィルター ')

-X [chain]ユーザー定義のチェーンを削除します

創設者兼編集者 Stealth Settings、2006年から現在まで。 オペレーティングシステムの経験 Linux (特に、 CentOS), Mac OS X、 Windows XP> Windows 10 si WordPress (CMS)。

» Linux » iptablesルールのクリア-iptablesルールのクリア/削除。
コメント