No internet connecting via OpenVPN server V1.13

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

Moderator: Moderators

Missio
Posts: 7
Joined: Sun Jul 31, 2022 3:11 pm

No internet connecting via OpenVPN server V1.13

Post by Missio »

Just started experimenting with Gargoly. Enabling VPN client is very easy and much more stable than with DD-WRT.

It's also easy to configure VPN server and even to connect to my router (Linksys wrt3200). It's also possible to connect tot servers and network components on my LAN. However I can't connect internet with the client that is connected to the server.

I think it's because of a lacking DNS on the client

Who has the solution

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: No internet connecting via OpenVPN server V1.13

Post by Lantis »

Have you tried manually setting the clients dns to 8.8.8.8 (for example) to see if that resolves the issue?
Ideally you would use your router as the dns, so setting it to your router's IP address (OR the VPN server address) would be the best solution.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Missio
Posts: 7
Joined: Sun Jul 31, 2022 3:11 pm

Re: No internet connecting via OpenVPN server V1.13

Post by Missio »

When switching DNS Fallback on my Iphone OpenVPN back on it works. So it's definitely an DNS problem
However I would like to use cloudflare of openvpn depending of the user. Can I manage this from within Gargoyle or schoud I change the client.opvn file

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

Re: No internet connecting via OpenVPN server V1.13

Post by ispyisail »

I can't connect internet with the client that is connected to the server.
Can we see screen shots of your settings

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

Re: No internet connecting via OpenVPN server V1.13

Post by ispyisail »

OpenVPN is extremely stable on Gargoyle

Missio
Posts: 7
Joined: Sun Jul 31, 2022 3:11 pm

Re: No internet connecting via OpenVPN server V1.13

Post by Missio »

Working now with
dhcp-option DNS 208.67.222.222
dhcp-option DNS 208.67.220.220

added to client.opvn

Missio
Posts: 7
Joined: Sun Jul 31, 2022 3:11 pm

Re: No internet connecting via OpenVPN server V1.13

Post by Missio »

What settings do you want to see

Missio
Posts: 7
Joined: Sun Jul 31, 2022 3:11 pm

Re: No internet connecting via OpenVPN server V1.13

Post by Missio »

Next question:

I now have vpn client and vpn server on the same gargoyle router. Now I want tot connect from outside my network to my own network (is working fine) and go back on the internet via the client vpn.

Why? I don't have enough licenses for all my client. So I want to use my router vpn client for mulitple client even when they are not at hoem

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

Re: No internet connecting via OpenVPN server V1.13

Post by ispyisail »

Can you draw a network diagram?

Some of the stuff you are taking about doesn't make sense to me

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: No internet connecting via OpenVPN server V1.13

Post by Lantis »

Missio wrote:
Mon Aug 01, 2022 3:29 pm
Working now with
dhcp-option DNS 208.67.222.222
dhcp-option DNS 208.67.220.220

added to client.opvn
Yes this is the right solution. We don’t have a GUI method of adding custom options to the client config files so you will need to maintain these changes.
If someone wanted to contribute a code change that supporter such a thing I’d be happy to review it.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply