Firewall Configuration



  • @Jbob you forgot dhcp

    for service in http https tftp ftp mysql nfs mountd rpc-bind proxy-dhcp dhcp samba; do firewall-cmd --permanent --zone=public --add-service=$service; done
    


  • My experience on Fedora 21 server:

    [root@fog SELinux]# systemctl enable firewalld
    Created symlink from /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service to /usr/lib/systemd/system/firewalld.service.
    Created symlink from /etc/systemd/system/basic.target.wants/firewalld.service to /usr/lib/systemd/system/firewalld.service.
    [root@fog SELinux]# systemctl start firewalld
    [root@fog SELinux]# for service in http https tftp ftp mysql nfs mountd rpc-bind proxy-dhcp samba; do firewall-cmd --permanent --zone=public --add-service=$service; done
    success
    success
    success
    success
    success
    success
    success
    success
    success
    success
    [root@fog SELinux]# firewall-cmd --reload
    success
    [root@fog SELinux]# 
    

    About to try out imaging after a reboot…



  • wiki hash tagging this for addition to the wiki


  • Senior Developer

    IPTables support added


Log in to reply
 

257
Online

7.1k
Users

14.3k
Topics

135.1k
Posts