ispconfig is killing external iptables

Discussion in 'Installation/Configuration' started by supertom64, Feb 14, 2007.

  1. supertom64

    supertom64 New Member

    I am using ispconfig 2.2.9 on centos 4.4 without firewall from ispconfig
    (ISP Services, Firewall: Off ) because I prefer my own iptables rules.

    If I restart a service e.g. Bind-Server: or mySQL-Server:, iptables rules and policies are reset.

    Is there a way to tell ISPConfig, that another firewall is used instead of the built in ?

    thx in advance
    Tom
     
  2. till

    till Super Moderator

    ISPConfig is not doing anything with your IPTables when you deactivated the ISPConfig firewall.
     
  3. martinfst

    martinfst HowtoForge Supporter

    I can confirm this, as I run Shorewall as my interface to iptables :)
    How do you restart a service?
     
  4. supertom64

    supertom64 New Member

    I restart the service with the webinterface:81
    iptables is started with original centos iptables rcfile.
    cu
    Tom
     
  5. supertom64

    supertom64 New Member

    Have done a little research on that issue and found it in ispconfig.log.

    The webinterface invoke the script:

    /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 706:
    /etc/rc.d/init.d/bastille-firewall stop

    which clear the iptables rules and policies.

    I have replaced bastille-firewall with a dummy-script and my iptables rules keep alive now.

    Thx
    cu
    Tom
     

Share This Page