HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   ispconfig is killing external iptables (http://www.howtoforge.com/forums/showthread.php?t=10592)

supertom64 14th February 2007 17:54

ispconfig is killing external iptables
 
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

till 14th February 2007 17:57

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

martinfst 14th February 2007 18:04

Quote:

Originally Posted by till
ISPConfig is not doing anything with your IPTables when you deactivated the ISPConfig firewall.

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

supertom64 14th February 2007 18:22

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

supertom64 15th February 2007 09:01

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


All times are GMT +2. The time now is 21:52.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.