Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- systemctl start firewalld systemctl enable firewalld for service in http https tftp ftp mysql nfs mountd rpc-bind proxy-dhcp samba; do firewall-cmd --permanent --zone=public --add-service=$service; done firewall-cmd --permanent --add-port=49152-65532/udp firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -p igmp -j ACCEPT systemctl restart firewalld.service sed -i.bak 's/^.*\SELINUX=enforcing\b.*$/SELINUX=permissive/' /etc/selinux/config setenforce 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement