The Perfect Server - Ubuntu 14.04 - ISPConfig 3 - Add firewall record problem

Discussion in 'Installation/Configuration' started by buffus, May 5, 2014.

  1. buffus

    buffus New Member

    Hi,

    I have installed The perfect server Ubuntu 14.04 step by step with ISPConfig 3.0.5.4p1. Only BIND DNS Server I installed the last step, after ISPConfig 3, but I performed ISPConfig php update.php subsequently.


    The server works, but when I add a default ISPConfig 3 firewall record, firewall cut off all traffic and I must deactivate the integrated firewall by console /etc/init.d/bastille-firewall stop


    iptables -L INPUT before add firewall records:
    Code:
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    fail2ban-postfix-sasl  tcp  --  anywhere             anywhere             multiport dports smtp
    fail2ban-dovecot-pop3imap  tcp  --  anywhere             anywhere             multiport dports pop3,pop3s,imap2,imaps
    fail2ban-pureftpd  tcp  --  anywhere             anywhere             multiport dports ftp
    fail2ban-ssh  tcp  --  anywhere             anywhere             multiport dports ssh
    iptables -L INPUT after add firewall records:
    Code:
    Chain INPUT (policy DROP)
    target     prot opt source               destination         
    DROP       tcp  --  anywhere             127.0.0.0/8         
    ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
    ACCEPT     all  --  anywhere             anywhere            
    DROP       all  --  base-address.mcast.net/4  anywhere            
    PUB_IN     all  --  anywhere             anywhere            
    PUB_IN     all  --  anywhere             anywhere            
    PUB_IN     all  --  anywhere             anywhere            
    PUB_IN     all  --  anywhere             anywhere            
    PUB_IN     all  --  anywhere             anywhere            
    DROP       all  --  anywhere             anywhere 

    I do not know what is wrong.

    Thanks for help.
     
    Last edited: May 5, 2014
  2. buffus

    buffus New Member

    So the problem is manifested the bastille firewall only. After set type to ufw firewall in ISPConfig and enable the firewall record again, the problem is gone.
     

Share This Page