OpenVZ Forum - RDF feed
type: channel
items: *SOLVED* iptables not working in VE
items: Re: iptables not working in VE

*SOLVED* iptables not working in VE
type: item
description: 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
creator: longsleep
date: 2006-11-29T09:38:55-00:00

Re: iptables not working in VE
type: item
description: Known issue, already fixed in git: http://git.openvz.org/?p=linux-2.6.18-openvz;a=commit;h=ad5a c420fed40b7df3b86cf5cb56f11cd88030ff
creator: dim
date: 2006-11-29T10:00:41-00:00

Re: iptables not working in VE
type: item
description: 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.
creator: longsleep
date: 2006-11-29T10:11:34-00:00

Re: iptables not working in VE
type: item
description: 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
creator: longsleep
date: 2006-11-29T13:47:13-00:00

Re: iptables not working in VE
type: item
description: It has a number of bugs, so, probably, never. Wait for 007 kernel.
creator: dim
date: 2006-11-29T13:49:18-00:00