Как отлючить или включить iptables в CentOS 7

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Как отлючить или включить iptables/firewalld в CentOS 7

Отключить фаервол:

# systemctl disable firewalld && systemctl stop firewalld 

Проверка:

# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination 
Chain FORWARD (policy ACCEPT) target prot opt source destination
Chain OUTPUT (policy ACCEPT) target prot opt source destination