Page 1 of 1

OpenVPN, clients doesn't have internet access

Posted: Mon May 20, 2013 7:31 am
by koekwous
Hi all,

Today I flashed my router to the latest Gargoyle firmware to make an OpenVPN connection available. After the successful installation I configured the OpenVPN by using the default settings. I downloaded the config files to my laptop and I was able to setup a connection to the router by using the OpenVPN client software. The OpenVPN connection is working and also I see the client in my "OpenVPN Status" page. But the most important part, a Internet connection, isn't working. I'm not sure which settings I should change and I believe every option is tried but still not successful. Hopefully with your help I could make this working. The same problem I have with my Galaxy SII Smartphone.

Non internet:
(Public IP) Laptop --VPN--> Gargoyle --> Internet
(Public IP) Galaxy SII --VPN--> Gargoyle --> Internet

Internet:
Computer --> Gargoyle --> Internet
Laptop WIFI --> Gargoyle --> Internet
Galaxy SII WIFI --> Gargoyle --> Internet

Version: 1.5.9
Hardware: NETGEAR WNDR3700v2

Settings:
OpenVPN Configuration: OpenVPN Server
OpenVPN Status: Running, Connected, IP: 10.8.0.1

OpenVPN Internal IP: 10.8.0.1
OpenVPN Internal Subnet Mask: 255.255.255.0
OpenVPN Port: 1194
OpenVPN Protocol: UDP
OpenVPN Cipher: Blowfish-CBC 128bit
Client-To-Client Traffic: Clients Can Only Communicate With Server
LAN Subnet Access: Clients Can Not access LAN
Credential Re-Use: Credentials Are Specific to Each Client
Clients Use VPN For: All Client Traffic

Can someone help me to make it possible to setup a connection from my Laptop/Smartphone (with public IP) to the Gargoyle router to the internet?

Re: OpenVPN, clients doesn't have internet access

Posted: Wed May 22, 2013 2:30 am
by ispyisail
can you test 1.5.10

Re: OpenVPN, clients doesn't have internet access

Posted: Sun Jun 02, 2013 7:07 am
by Mike_Krüger
Unfortunately I have the same problem (TL-WDR4300, 1.5.10)... with a bit of tweaking I could make the VPN work with the built-in VPN manager of Linux Mint, once logged I can reach no IP at all apart from the public IP address of the WAN interface (not the FQDN). No internal hosts, no external hosts. Addresses do not resolve, and trying by IP does not help either.

Routing table once connected:

0.0.0.0 10.8.0.1 0.0.0.0 UG 0 0 0 tun0
10.8.0.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
public IP 192.168.168.1 255.255.255.255 UGH 0 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
192.168.168.0 10.8.0.1 255.255.255.0 UG 0 0 0 tun0
192.168.168.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0

The tweaking involved in getting the connection to work (by memory):

- commented out 'tls-auth /etc/openvpn/ta.key 0' (to circumvent the TLS Error: cannot locate HMAC in incoming packet)

I also had to put the server to port 1195 (wouldn't generate key-pair otherwise) and open that port by putting a forward in the interface.

Probably it's not too far off to get this working, but it's out of my depth now.

Re: OpenVPN, clients doesn't have internet access

Posted: Fri Jun 14, 2013 9:27 am
by Swimmer
I'm facing the same problem.

I can connect to the OpenVPN server but I can't access anything by VPN. I'm not even getting the OpenVPN external IP.

Re: OpenVPN, clients doesn't have internet access

Posted: Sat Jun 15, 2013 12:26 pm
by koekwous
I fixed my problem which was related to DNS. With the OpenVPN app on my smartphone I assigned some DNS servers. After updating the new router firmware to 1.5.10 and after the app update, this wasn't needed anymore.

Re: OpenVPN, clients doesn't have internet access

Posted: Fri Dec 05, 2014 9:06 am
by dalida
I am using WaselPro VPN service http://www.bestcheapvpnservice.com/good-vpn-use/ it is wonderful one without disconnection and high internet speed allowing you to surf the web freely.