ファイアウォール関連のコマンド

免責事項:この記事はブロガーのオリジナルの記事、転載記述のリンクを追加する必要があります。https://blog.csdn.net/makenothing/article/details/86985997

ここでは赤い帽子がある/ firewallコマンドをオフにしCentOs7

1:火災の状況を見ます

systemctlステータスfirewalld

サービスのiptablesの状況

2:一時的にファイアウォールを無効にします

systemctlストップfirewalld

サービスのiptablesを停止します

3:永久にファイアウォールを無効にします

systemctl無効にfirewalld

iptablesのオフのchkconfig

4:ファイアウォールを再起動します

firewalldを有効systemctl

サービスのiptablesを再起動します

5:永久に再起動した後に閉じ

上のchkconfig iptablesの

おすすめ

転載: blog.csdn.net/makenothing/article/details/86985997