*SOLVED* iptables not working in VE [message #8610] |
Wed, 29 November 2006 09:38 |
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
|
|
|