Tag: firewalld
firewall-cmd --get-active-zones
firewall-cmd --list-all
firewall-cmd --add-service=http --permanent
firewall-cmd --permanent --remove-service=cockpit firewall-cmd --permanent --remove-service=dhcpv6-client firewall-cmd --permanent --remove-service=ssh
vim /etc/ssh/sshd_config
sudo systemctl restart sshd
sudo cp -p /usr/lib/firewalld/services/ssh.xml /etc/firewalld/services/ssh-2222.xml vim /etc/firewalld/services/ssh-2222.xml
sudo firewall-cmd --reload