How to add permanently rules to the ISPConfig Bastille-firewall ?

Discussion in 'Installation/Configuration' started by arnaud, Aug 1, 2006.

  1. arnaud

    arnaud New Member

  2. falko

    falko Super Moderator Howtoforge Staff

    You can manage the ISPConfig firewall under Management -> Server -> Services.
     
  3. arnaud

    arnaud New Member

    I want to add some iptables rules like this :
    iptables -A SSH_CHECK -m recent --update --seconds 60 --hitcount 4 --name SSH
    But the ISPConfig web interface seems not to allow this kind of rules.
    Perhaps is there a file in which I can put these rules ?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    It's /etc/Bastille/bastille-firewall.cfg. But this file gets overwritten everytime you make changes in ISPConfig, so you better make your changes also in the template in /root/ispconfig/isp/conf.
     

Share This Page