Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion

Need help in converting iptables rules from KVM to OpenVZ
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Need help in converting iptables rules from KVM to OpenVZ

mca295188mca295188 Member
edited August 2014 in Help

Hello There,

Please help me, i want to convert few iptables rules of KVM for OpenVZ

iptables -A INPUT -i eth0 -p tcp --dport 1723 -j ACCEPT iptables -A INPUT -i eth0 -p gre -j ACCEPT iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables -A FORWARD -i ppp+ -o eth0 -j ACCEPT iptables -A FORWARD -i eth0 -o ppp+ -j ACCEPT iptables --table nat --append POSTROUTING --out-interface ppp0 --jump MASQUERADE iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

Comments

  • It's up to your host to provide support for these things...

    Also, "eth0" is "venet0" or similar under OpenVZ, just do ip a to check.

Sign In or Register to comment.