Hi, thanks for your quick reply. I did actually, but when I just did it again in order to be able to copy/paste the error here it actually didn't throw any now.
Now, when I'm connected to the server, I can access websites on the server itself, although very slow, but nothing outside, so I think I must still be missing something? On Sat, Jun 21, 2014 at 2:12 PM, RoseHosting Admin <adm...@rosehosting.com> wrote: > did you try using source NAT as in > > iptables -t nat -A POSTROUTING -s <VPN NETWORK>/24 -j SNAT --to-source > <SERVER PUBLIC IP> > > Admin > RoseHosting.com > > On 6/21/2014 1:47 AM, Rene C. wrote: >> >> I got the openvpn part itself down, no problem, but getting it to work >> in a container is a lot of hassle. Many pages, but most are outdated >> and things keeps changing. Anyone know how to get it to work TODAY? >> >> The server is an otherwise normal server with public ip addresses and >> works with cpanel, no problem that far. The problem is getting an >> openvpn service to work in it. >> >> I've already added the tun device, and I can connect to the server >> with the openvpn client, just can't continue from there, so some >> routing is missing. >> >> I've followed the general routing instructions but because openvz >> doesn't support MASQ it doesn't work. >> >> - which modules to insmod on the hwnode >> - which modules to add into /etc/vz/vz.conf >> - which modules to add into /etc/vz/<ct>.conf >> _______________________________________________ >> Users mailing list >> Users@openvz.org >> https://lists.openvz.org/mailman/listinfo/users >> > > _______________________________________________ > Users mailing list > Users@openvz.org > https://lists.openvz.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users