Hello,
I have this error in a container when I try to LOG with iptables
This is my configuration for iptables :
On HW :
in vz.conf :
IPTABLES="ip_tables ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state ipt_LOG"
in 101.conf
PTABLES="ip_tables ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state ipt_LOG"
(the same line)
I already do this on HW:
(seen here : http://wiki.openvz.org/Setting_up_an_iptables_firewall)
modprobe xt_tcpudp
modprobe ip_conntrack
modprobe xt_state
In the container (leela) I run the following :
root@leela:~# 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
Chain LOG_DROP (0 references)
target prot opt source destination
root@leela:~# iptables -A INPUT -j LOG
iptables: No chain/target/match by that name
How can I do to enable logging iptables in contaniers ?
(No trouble with other iptables stuff)
Is there something I missed ?
I apologise for my rusty english, I'm french
[Updated on: Mon, 26 April 2010 16:32]
Report message to a moderator