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 20th July 2006, 11:31
asmadius asmadius is offline
Junior Member
 
Join Date: Mar 2006
Location: germany
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to asmadius
Question can't initialize iptables table `filter

I have Debian 3.1 64 bit with php4 & 5 using the install guides from "perfect...."

everything was ok the first 2-3 hours, but then everything got slower & slower, so this is the only thing I found as an error but I don't know how to fix this. I searched the forums, but I didn't find an answer.

cp:~# iptables -L
FATAL: Module ip_tables not found.
iptables v1.2.11: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.


this is the kernel I'm using
cp:~# uname -r
2.6.17.6

after rebooting it seemed to work but only shortly, getting into the hosting panel is ok but not the installed website.

thanx for any help.

BTW- my provider gave the server a name like SERVER.PROVIDER.DE - I reinstalled Debian and change the server to something like CP.MYDOMAIN.NET added to hosts, does this effect the installtion or sites?
__________________
The hardware box said use Win98 or better, so I installed Debian
Reply With Quote
Sponsored Links
  #2  
Old 21st July 2006, 13:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Your kernel doesn't support iptables. Is it a vserver or a real machine?
If you use the ISPConfig firewall, please switch it off.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 29th July 2006, 12:05
adrenalinic adrenalinic is offline
Senior Member
 
Join Date: Jan 2006
Posts: 200
Thanks: 3
Thanked 4 Times in 4 Posts
Default isp config not perform rules!

hi.
Whoi is name process of ispconfig firewall in the system??
In my ispconfig firewall i have open service:

FTP 21 tcp si
SSH 22 tcp si
SMTP 25 tcp si
DNS 53 tcp si
DNS 53 udp si
WWW 80 tcp si
ISPConfig 81 tcp si
POP3 110 tcp si
SSL (www) 443 tcp si

but if perform a scanning port of my ip server, see another two ports open!!!

119 [Description: News / Service: Unknown]
and
143 [Description: imap => Internet Message Access Protocol / Service: Unknown]

I have addded a new rules in firewall config closing port 119 and 143 but the service not close this ports!

this is my iptables rules:
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
DROP all -- anywhere anywhere

Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere

Chain INT_IN (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
DROP all -- anywhere anywhere

Chain INT_OUT (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere

Chain PAROLE (8 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere

Chain PUB_IN (4 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
ACCEPT icmp -- anywhere anywhere icmp echo-reply
ACCEPT icmp -- anywhere anywhere icmp time-exceeded
ACCEPT icmp -- anywhere anywhere icmp echo-request
PAROLE tcp -- anywhere anywhere tcp dpt:ftp
PAROLE tcp -- anywhere anywhere tcp dpt:ssh
PAROLE tcp -- anywhere anywhere tcp dpt:smtp
PAROLE tcp -- anywhere anywhere tcp dpt:domain
PAROLE tcp -- anywhere anywhere tcp dpt:www
PAROLE tcp -- anywhere anywhere tcp dpt:81
PAROLE tcp -- anywhere anywhere tcp dptop3
PAROLE tcp -- anywhere anywhere tcp dpt:https
ACCEPT udp -- anywhere anywhere udp dpt:domain
DROP icmp -- anywhere anywhere
DROP all -- anywhere anywhere

Chain PUB_OUT (4 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere


any idea!?
Help!!
Thanks.
Josef

Last edited by adrenalinic; 29th July 2006 at 12:26.
Reply With Quote
  #4  
Old 30th July 2006, 13:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by adrenalinic
but if perform a scanning port of my ip server, see another two ports open!!!
Yes, because you run the portscan on the same system. iptables controls connections from outside, so you must run the portscan on another system, and it will show you the correct results.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 30th July 2006, 14:02
adrenalinic adrenalinic is offline
Senior Member
 
Join Date: Jan 2006
Posts: 200
Thanks: 3
Thanked 4 Times in 4 Posts
Default

hi.
i have make port scan from remote machine to my remote VPS!
I want would ask you who is the logical management of firewall from Ispconfig.

In howto to configure ispconfig, in howtoforge.com, not have see, any setting of firewall rules. How it works?
Reply With Quote
  #6  
Old 31st July 2006, 15:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

The ISPConfig firewall can be managed under Management -> Server -> Services.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
iptables: Table does not exist (do you need to insmod?) cccc Installation/Configuration 6 23rd August 2007 10:13
The Perfect Xen 3.0 Setup For Debian | IPTABLES rocket30 HOWTO-Related Questions 7 25th July 2006 14:18
configuring IPTABLES firewall adityavpratap HOWTO-Related Questions 9 27th May 2006 21:42
Empty Recycle Bin jon335 General 40 6th May 2006 11:56
open ports rayit General 6 18th January 2006 14:23


All times are GMT +2. The time now is 06:31.


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