firewall-cmd examples

firewall-cmd --get-default-zone
firewall-cmd --get-zones

firewall-cmd --list-interfaces
firewall-cmd --add-interface=<interface>

firewall-cmd --add-service=http

firewall-cmd --add-port=443/tcp
firewall-cmd --permanent --add-port=443/tcp

firewall-cmd --add-masquerade
firewall-cmd --add-service=dns --add-service=dhcp
firewall-cmd --runtime-to-permanent

firewall-cmd --permanent --direct --get-all-rules

3 thoughts on “firewall-cmd examples”

  1. Howdy would you mind stating which blog platform you’re working with?

    I’m planning to start my own blog in the near future but I’m having a difficult time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems different then most blogs and I’m looking
    for something unique. P.S My apologies for getting off-topic but I had to ask!

Leave a Reply

Your email address will not be published. Required fields are marked *