OpenVPN, clients doesn't have internet access

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
koekwous
Posts: 2
Joined: Mon May 20, 2013 7:18 am

OpenVPN, clients doesn't have internet access

Post 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?

ispyisail
Moderator
Posts: 5212
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: OpenVPN, clients doesn't have internet access

Post by ispyisail »

can you test 1.5.10

Mike_Krüger
Posts: 14
Joined: Sun Jun 02, 2013 6:51 am

Re: OpenVPN, clients doesn't have internet access

Post 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.

Swimmer
Posts: 48
Joined: Tue Mar 05, 2013 10:36 am

Re: OpenVPN, clients doesn't have internet access

Post 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.
Proud owner of Gargoyle in
  • Tp-Link TL-WR1043N
  • Tp-Link TL-WDR3600
  • Linksys WRT1900ACS

koekwous
Posts: 2
Joined: Mon May 20, 2013 7:18 am

Re: OpenVPN, clients doesn't have internet access

Post 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.

dalida
Posts: 1
Joined: Wed Dec 03, 2014 8:46 am

Re: OpenVPN, clients doesn't have internet access

Post 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.

Post Reply