OpenVZ Forum


Home » General » Support » iptables problems
iptables problems [message #44761] Thu, 29 December 2011 13:03 Go to previous message
pablov2 is currently offline  pablov2
Messages: 7
Registered: May 2011
Junior Member
I cant apply some rules of iptables. I think I have checked all the possibles erros but I cant found the problem.

In a container I get this

root@zentyal2:~# iptables -t nat -A PREROUTING -p tcp --dport 8080 -j DNAT --to-destination 10.30.105.212:8080
root@zentyal2:~# iptables -t nat -A POSTROUTING -j MASQUERADE
iptables: No chain/target/match by that name.



In host I have this modules activated

host:~# lsmod | egrep "xt_tcpudp|ip_conntrack|xt_state"
xt_tcpudp               2319  31 
xt_state                1303  54 
nf_conntrack           46563  10 nf_nat_irc,nf_nat_ftp,iptable_nat,nf_nat,xt_helper,xt_state,xt_conntrack,nf_conntrack_irc,nf_conntrack_ftp,nf_conntrack_ipv4
x_tables               13117  21 ip6t_REJECT,ip6_tables,xt_tcpudp,ipt_REDIRECT,iptable_nat,xt_helper,xt_state,xt_conntrack,xt_length,ipt_LOG,xt_hl,xt_tcpmss,xt_TCPMSS,ipt_REJECT,xt_DSCP,xt_dscp,xt_multiport,xt_limit,ip_tables,xt_MARK,xt_mark


Any idea or how can I test where is the problem? Thxx
 
Read Message
Read Message
Previous Topic: Broken memory reporting since moving containers via vzmigrate
Next Topic: recalculate quotas online
Goto Forum:
  


Current Time: Thu Jul 31 10:03:50 GMT 2025

Total time taken to generate the page: 0.17949 seconds