All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
OpenVPN Access Server Connectivity Test Passes, still no internet connectivity on clients.
I just installed OpenVPN Access Server to play around with, but I am having issues connecting to the internet using the OpenVPN client. I can connect and I get an IP assigned, but I cannot ping websites nor IPs.
My OpenVPN Access Server passes it's internal "Connectivity Test" and I've enabled "Should client Internet traffic be routed through the VPN". Also, the VPN server is listening on all interfaces. I can see the client connect in the web interface as well.
This is on a OpenVZ VPS running Ubuntu Server 12.04 32 bit. TUN/TAP is enabled, and I've followed this procedure to get the server actually to start, as it was complaining the device could not be found:
http://wiki.vpslink.com/TUN/TAP_device_with_OpenVPN_or_Hamachi
Has anyone experienced this before?
Thanks!
Comments
I remember having the same issue as you once, I can't remember what you had to do to fix it.
have you checked the firewall?
Thanks for the reply @MrAndroid
I checked the firewall and it seems OpenVPN AS has made a lot of entries. I'm not sure wheter they are right or wrong, but just to be sure I tried to add this rule as well:
iptables -t nat -A POSTROUTING -o venet0 -j SNAT --to-source VPSIP
This fixed internet connectivity for me in the past on OpenVZ VPSes. However, the rule doesn't seem to get added to iptables....
I also made sure to enabled IPv4 forwarding (net.ipv4.ip_forward=1)
What happens when you ping / traceroute a remote ip? Where does it fail / what route does it take?
Is it failing to route traffic or resolve addresses?
It fails to route traffic. Addresses are resolved fine
Thanks in advance!
Are you running the latest version straight from their website, seen issues with some older versions on OpenVZ
What client are you using? I'm using the portable VPN version and because of that I need to run it as administrator.
Winner winner, chicken dinner! Yup, I was running an older version indeed. Upgraded to the latest version and all runs fine now.
Strange that the address resolving works but actual browsing doesn't.
Thanks guys
I'm using the latest OpenVPN Community Client, 2.4 I believe. But it's solved, my server version was too old
worth trying. good luck!
If you want to run an older version. I have an IPtables rule that fixes the connectivity.
Do you care to share that rule?
I personally do not need it at the moment, but feel free to share it for those who stumble on this topic with the same problem and do need to run an older version