VPS ovh and Nethserver openvpn

NethServer Version: 7
Module: Openvpn

Hi I try for at least a week, to get my ovh vps to work as a vpn, I’ve install nethserver-openvpn packages, and look the documentation, but I have only one nic (ovh choice, not mine) so I have create a logical vlan and bridged it. And then select it in roadwarrior mode. I can connect to the vpn but I have not internet access.

Is anyone have an idea ?

Write a line like the following in /etc/shorewall/started:
iptables -t nat -I POSTROUTING -s 10.0.0.0/24 -o eth0 -j MASQUERADE
substituting 10.0.0.0/24 with your openvpn network and eth0 with your network card.
shorewall restart to apply the configuration.

1 Like

I’ve done it but still doesn’t have connection, I can’t ping anything

Great!:+1: Thank you. Exactly what i was looking for. For me it works (NS7 as openvpn server behind firewall)

1 Like

Hi Crazyusb,

I had the same problem and it was the DNS IP.

Michel-André