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 previous 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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DDOS attack on VPS
Next Topic: *SOLVED* Can't connect to mysql in VE
Goto Forum:
  


Current Time: Sun Oct 06 13:19:20 GMT 2024

Total time taken to generate the page: 0.04436 seconds