Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th February 2007, 17:54
supertom64 supertom64 is offline
Junior Member
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 14th February 2007, 17:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

ISPConfig is not doing anything with your IPTables when you deactivated the ISPConfig firewall.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 14th February 2007, 18:04
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

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?
Reply With Quote
  #4  
Old 14th February 2007, 18:22
supertom64 supertom64 is offline
Junior Member
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I restart the service with the webinterface:81
iptables is started with original centos iptables rcfile.
cu
Tom
Reply With Quote
  #5  
Old 15th February 2007, 09:01
supertom64 supertom64 is offline
Junior Member
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use an external mailserver within ISPConfig? Hans General 8 3rd September 2009 19:37
ISPConfig - receivng mails from external not working gallen Server Operation 1 30th November 2006 09:17
ispconfig and external primary DNS FredZ Installation/Configuration 4 9th October 2006 14:50
ISPConfig creates virtual domain even when the mail server is external mxc General 1 25th July 2006 12:32
configuring IPTABLES firewall adityavpratap HOWTO-Related Questions 9 27th May 2006 21:42


All times are GMT +2. The time now is 10:41.


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