Firewalld

Commands

Reload Firewalld

firewall-cmd --reload

Zones

List zones

firewall-cmd --get-zones

Add a new zone

firewall-cmd --new-zone=hetzner --permanent

Assign interface to zone

firewall-cmd --zone=hetzner --change-interface=enp7s0 --permanent

Services

Assign service to zone

firewall-cmd --zone=hetzner --add-service=etcd-server --permanent

Updated: