OpenVZ Forum


Home » General » Support » openvz+openvpn = can't initialize iptables table nat
openvz+openvpn = can't initialize iptables table nat [message #51769] Sun, 16 November 2014 23:04 Go to next message
camolist is currently offline  camolist
Messages: 1
Registered: November 2014
Location: Niles, Ohio
Junior Member
From: *lightspeed.bcvloh.sbcglobal.net


vzkernel-2.6.32-042stab094.7.x86_64
vzctl-4.8-1.x86_64

setup on a centos 6 server using the steps on openvz(.)org/Quick_installation

followed the steps on openvz(.)org/VPN_via_the_TUN/TAP_device

vzctl create 1 --ostemplate ubuntu-14.04-x86_64-minimal
vzctl set 1 --ipadd 69.162.139.4 --save
vzctl set 1 --ipadd 2607:f128:40:1211::45a2:8b04 --save
vzctl set 1 --hostname "1.camolist(.)com" --save
vzctl set 1 --nameserver inherit --save
vzctl set 1 --devnodes net/tun:rw --save
vzctl set 1 --devices c:10:200:rw --save
vzctl set 1 --capability net_admin:on --save

using https:/(/) github(.)com/tinfoil/openvpn_autoconfig/blob/master/bin/open vpn.sh to auto configure openvpn

all works except
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0 -j MASQUERADE
iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

openvz(.)org/VPN_via_the_TUN/TAP_device at the bottom lists this error and links to kb.sp.parallels(.)com/en/5228 requesting the latest kernal (over 2.6.18-028stab053.10) but i'm on the latest 2.6.32 as posted above


if any other info is needed let me know

EDIT: removed bitcoin offering

[Updated on: Tue, 18 November 2014 22:22] by Moderator

Report message to a moderator

Re: openvz+openvpn = can't initialize iptables table nat [message #51772 is a reply to message #51769] Tue, 18 November 2014 22:25 Go to previous message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
From: *static.zebra.lt
you have to check with CT provider if it is allowed use nat, vpn in CT
Previous Topic: When will openVZ update its kernel???
Next Topic: new HW IP - unreachable VMs
Goto Forum:
  


Current Time: Mon Nov 12 17:38:02 GMT 2018