linux_wiki:firewall_firewall-cmd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:firewall_firewall-cmd [2015/12/18 15:52]
billdozor [Firewall-Cmd]
linux_wiki:firewall_firewall-cmd [2019/05/25 23:50] (current)
Line 6: Line 6:
  
 **Checklist** **Checklist**
-  * Distro: Enterprise Linux 7.x+  * Distro(s): Enterprise Linux 7
  
 ---- ----
Line 14: Line 14:
   * firewall-config => GUI Frontend for firewalld   * firewall-config => GUI Frontend for firewalld
   * firewall-cmd => Cmd line frontend for firewalld   * firewall-cmd => Cmd line frontend for firewalld
-  * firewalld => Daemon that interacts with the Linux kernel+  * firewalld => Daemon that interacts with the Linux kernel's packet filter, Netfilter
     * cannot be used at the same time as iptables     * cannot be used at the same time as iptables
   * iptables => Interacts with the Linux kernel's packet filter, Netfilter   * iptables => Interacts with the Linux kernel's packet filter, Netfilter
Line 38: Line 38:
   * firewall-cmd method<code bash>firewall-cmd --state</code>   * firewall-cmd method<code bash>firewall-cmd --state</code>
   * systemctl methods   * systemctl methods
-    * status<code bash>systemctl status firewalld</code> +    * check status<code bash>systemctl status firewalld</code> 
-    * active<code bash>systemctl is-active firewalld</code> +    * is active?<code bash>systemctl is-active firewalld</code> 
-    * enabled<code bash>systemctl is-enabled firewalld</code>+    * is enabled?<code bash>systemctl is-enabled firewalld</code>
  
 ---- ----
Line 88: Line 88:
 firewall-cmd --change-interface=eth0 --zone=home firewall-cmd --change-interface=eth0 --zone=home
 </code> </code>
 +  * If you are changing an interfaces zone, chances are, you might also want to change the default zone displayed. See the Zones section above to do this.
  
 ---- ----
  • linux_wiki/firewall_firewall-cmd.1450471969.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)