OpenVZ Forum


Home » General » Support » iptables: No chain/target/match by that name (Some issues with iptables log in a container)
iptables: No chain/target/match by that name [message #39458] Mon, 26 April 2010 16:31 Go to previous message
KuKrApOk is currently offline  KuKrApOk
Messages: 2
Registered: April 2010
Junior Member
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

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to change the navigation error message
Next Topic: Was sind supporters?
Goto Forum:
  


Current Time: Fri Oct 11 16:17:16 GMT 2024

Total time taken to generate the page: 0.06743 seconds