Monday, October 21, 2019

How to disable the firewall in Centos 7.X

chkconfig firewalld off
systemctl stop firewalld
sed -i 's/=enforcing/=disabled/'g /etc/sysconfig/selinux
setenforce 0

No comments:

Post a Comment