[Users] openvpn in openvz
openvz at dokbua.com
Sat Jun 21 01:11:43 PDT 2014
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
<admins at 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>
> 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 at openvz.org
> Users mailing list
> Users at openvz.org
More information about the Users