💾 Archived View for freeshell.de › tldr › firewall-cmd.gmi captured on 2023-04-19 at 23:54:59. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

firewall-cmd

The firewalld command-line client.

More information.

firewall-cmd --get-active-zones
firewall-cmd --list-all
firewall-cmd --permanent --zone={block} --change-interface={enp1s0}
firewall-cmd --permanent --zone={public} --add-service={https}
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