The firewalld command-line client.
firewall-cmd --get-active-zones
firewall-cmd --list-all
firewall-cmd --permanent --zone={block} --change-interface={enp1s0}
public
zone):
firewall-cmd --permanent --zone={public} --add-service={https}
public
zone):
firewall-cmd --permanent --zone={public} --remove-service={http}
firewall-cmd --permanent --zone={public} --add-port={25565/tcp} --add-port={19132/udp}
firewall-cmd --reload
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY This content has been proxied by September (3851b).Proxy Information
text/gemini;lang=en-GB