Iptables - 永久關閉指令
Published in:2022-09-08 | category: Iptables

查看防火牆狀態

service iptables status

永久性生效 (重啟不復原)

chkconfig iptables on   (開啟)
chkconfig iptables off  (關閉)

即時性生效 (重啟後復原)

service iptables start  (開啟)
service iptables stop   (關閉)

設置後重啟

reboot

Prev:
Iptables - 使用 geoip 過濾國家 (centos7)
Next:
CentOS 8 - 找不到源解決方式