Fedora 19 firewalld

Fedora 19 came out and its quite nice, but I’m not used to firewalld, as I am an old school iptables guy. I struggled with it at 1st, but after googling a bit, I got it going.

To get a list of predefined services:
firewall-cmd –get-services

To temporally add a service that is already defined:
firewall-cmd –add-service=http

To permanently (save across reboots) add a service that is already defined:
firewall-cmd –permanent –add-service=http

To temporally remove a service that is already defined:
firewall-cmd –remove-service=http

To permanently (save across reboots) remove a service that is already defined:
firewall-cmd –permanent –remove-service=http

Never disable your firewall completely!