OpenVZ Forum


Home » General » Support » *SOLVED* iptables not working in VE
*SOLVED* iptables not working in VE [message #8610] Wed, 29 November 2006 09:38 Go to next message
longsleep is currently offline  longsleep
Messages: 3
Registered: November 2006
Junior Member
Hi there,

i am currently testing openvz for our servers. Thus is setup an Fedora Core 6 OpenVZ server (kernel 2.6.18-ovz028test005.1-smp x86_64).

Anything works quite well and i can start and stop multiple VE's.

For administration issues we require ubuntu linux 6.06 as VE distribution. I managed to create working template using debootstrap. Anything inside this template works. But when i try to use iptables i get the following:

root@virtualtest1:~# iptables -L
FATAL: Could not load /lib/modules/2.6.18-ovz028test005.1-smp/modules.dep: No such file or directory
iptables v1.3.3: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.

I also have a Fedora Core 5 VE on this server, which does not have this problem (iptables works fine there).
[root@virtualtest2 ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

I also recompiled iptables 1.3.5 on the ubuntu VE, but this did not change anything.

Thanks for any help.
Simon



[Updated on: Thu, 30 November 2006 07:02] by Moderator

Report message to a moderator

Re: iptables not working in VE [message #8611 is a reply to message #8610] Wed, 29 November 2006 10:00 Go to previous messageGo to next message
dim is currently offline  dim
Messages: 344
Registered: August 2005
Senior Member
Known issue, already fixed in git:
http://git.openvz.org/?p=linux-2.6.18-openvz;a=commit;h=ad5a c420fed40b7df3b86cf5cb56f11cd88030ff


http://static.openvz.org/openvz_userbar_en.gif
Re: iptables not working in VE [message #8613 is a reply to message #8611] Wed, 29 November 2006 10:11 Go to previous messageGo to next message
longsleep is currently offline  longsleep
Messages: 3
Registered: November 2006
Junior Member
ok great. So i assume this will be working with test6. I noticed there is a tag already for that. I will try to compile a new kernel with that tag.
Re: iptables not working in VE [message #8621 is a reply to message #8613] Wed, 29 November 2006 13:47 Go to previous messageGo to next message
longsleep is currently offline  longsleep
Messages: 3
Registered: November 2006
Junior Member
Ok. Just compiled an new kernel RPM with current git version and all works fine. Thanks.

When will 2.6.18-test006 be available?

Thanks
Re: iptables not working in VE [message #8622 is a reply to message #8621] Wed, 29 November 2006 13:49 Go to previous message
dim is currently offline  dim
Messages: 344
Registered: August 2005
Senior Member
It has a number of bugs, so, probably, never.
Wait for 007 kernel.


http://static.openvz.org/openvz_userbar_en.gif
Previous Topic: DDOS attack on VPS
Next Topic: *SOLVED* Can't connect to mysql in VE
Goto Forum:
  


Current Time: Sun Oct 06 11:51:06 GMT 2024

Total time taken to generate the page: 0.05760 seconds