No internet connection after disconnecting from OpenVPN server

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
fkarausch2@gmail.com
OpenVpn Newbie
Posts: 5
Joined: Tue Jan 31, 2023 9:58 pm

No internet connection after disconnecting from OpenVPN server

Post by fkarausch2@gmail.com » Tue Jan 31, 2023 10:05 pm

I'm using the last version of the "OpenVPN Connect" for mac and I'm having some issues.
Once connected to an OpenVPN server (server running from Asus GTX-10000 router) successfully, after disconnecting from it, the whole internet access of my mac (Mac mini M2 pro) is not working anymore. In order to recover the Internet connection I have to turn off the WiFi and/or ethernet and turn them back on. Could you please help me with this issue?
Thanks!!
Fred

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1159
Joined: Tue Feb 16, 2021 10:41 am

Re: No internet connection after disconnecting from OpenVPN server

Post by openvpn_inc » Fri Feb 03, 2023 12:22 pm

Hello,

It's possible you have conflicting routes. Do you know what subnets you have locally on your network where the mac is, and the subnets that the VPN server is pushing? If not, the client side logs would at least show what the server is pushing.

It can be the case that because the remote and local subnets are the same, things end up getting broken. This can be resolved by ensuring the subnets are not the same.

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

fkarausch2@gmail.com
OpenVpn Newbie
Posts: 5
Joined: Tue Jan 31, 2023 9:58 pm

Re: No internet connection after disconnecting from OpenVPN server

Post by fkarausch2@gmail.com » Sun Feb 05, 2023 4:15 am

Thanks Johan !!
Could you please tell me how I could be sure that the subnets are not the same. BTY, this issue is happening only on my Macs, when I'm using the same app from my iPhone (using the my same internet connection), I don't have this issue.

Fred

lonetree
OpenVpn Newbie
Posts: 2
Joined: Sun Feb 05, 2023 1:54 pm

Re: No internet connection after disconnecting from OpenVPN server

Post by lonetree » Sun Feb 05, 2023 1:57 pm

I'm also facing the same issue as fkarausch2@gmail.com

On my mac, I will lost connection to the internet once I disconnected from OpenVPN server. With my Andriod phone I can connect and disconnect without any issue.

What could be the issue?

fkarausch2@gmail.com
OpenVpn Newbie
Posts: 5
Joined: Tue Jan 31, 2023 9:58 pm

Re: No internet connection after disconnecting from OpenVPN server

Post by fkarausch2@gmail.com » Sun Feb 05, 2023 6:00 pm

good news and bad news.

After removing the application, re-configured my VPN server on the Asus router and exporting the new ovpn file config. everything started to work as expected (the issue that was loosening internet after disconnecting is gone!!!!) :D :D :D :D
BUT :? :? :? :o :o :o
now the connection is"painfully" slow, even connecting using the same connection at home (testing new VPN server from my same home connection) the speed is suffering a lot (~70% slower)

Could somebody please help me with this !!!

fkarausch2@gmail.com
OpenVpn Newbie
Posts: 5
Joined: Tue Jan 31, 2023 9:58 pm

Re: No internet connection after disconnecting from OpenVPN server

Post by fkarausch2@gmail.com » Sun Feb 05, 2023 6:12 pm

to give you some info about my Open VPN server:
Using:
Interface Type: TUN
Protocol:UDP
Respond to DNS No
Encryption cipher: AES-128-CBC
HMAC Authentication: SHA 384
Compression: Adaptive
Authentication Mode: TLS
Extra HMAC Authentication: Disable
VPN Subnet/Netmask: 10.8.0.0/255.255.255.0 ( my internal sub net 198.168.1.0/255.255.255.0)
Push LAN to Clients: Yes
Direct clients to redirect internet trafic; Yes
Manage Client-Specific Options: Yes
Allow Client n<-> Client: Yes

Thanks !!!

spartanjack
OpenVpn Newbie
Posts: 1
Joined: Tue Feb 21, 2023 2:15 pm

Re: No internet connection after disconnecting from OpenVPN server

Post by spartanjack » Tue Feb 21, 2023 2:22 pm

I am having the exact same issue. When disconnecting from the VPN, my internet doesn't work. Using the terminal to ping Google, I get the response ping: sendto: No route to host. If I turn my WiFi off then on, everything works again.

This also affects other users who use the same application and config file. Here is the ovpn config file I use, downloaded from AWS and with important details #--REDACTED--:

Code: Select all

client
dev tun
proto udp
remote #--REDACTED--
dhcp-option DNS #--REDACTED--
remote-random-hostname
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-GCM
verb 3
<ca>
#--REDACTED--
</ca>

reneg-sec 0
redirect-gateway def1

lonetree
OpenVpn Newbie
Posts: 2
Joined: Sun Feb 05, 2023 1:54 pm

Re: No internet connection after disconnecting from OpenVPN server

Post by lonetree » Thu Mar 02, 2023 4:28 pm

Been waiting for a good solution but seems that only the 3 of us are facing this issue and no one seems to help. :-(

jenneking
OpenVpn Newbie
Posts: 3
Joined: Fri Mar 17, 2023 1:22 am

Re: No internet connection after disconnecting from OpenVPN server

Post by jenneking » Fri Mar 17, 2023 1:27 am

I'm having this issue on my MacBook (M1) as well. I'm having to remove plist files and basically having to reset my WiFi (forget the network, etc). Basically what is in this link: https://apple.stackexchange.com/questio ... om-macbook

I can connect to other wifi networks without an issue.

I can log out as my user and in as an Admin and connect to the same wifi without a problem.

Once I connect to OpenVPN to my office network, and it disconnects, my WiFi is basically dead. It will say it's connected, but the bandwidth is completely choked down to kbs.

I just started to have this experience in the last week. I've narrowed it to the OpenVPN client and something happening after a disconnect from that client. I saw this post. So, I don't have a solution, but thought I'd post what I know so far.

Thanks

jenneking
OpenVpn Newbie
Posts: 3
Joined: Fri Mar 17, 2023 1:22 am

Re: No internet connection after disconnecting from OpenVPN server

Post by jenneking » Fri Mar 17, 2023 1:37 am

Quick update: Turning Wifi Off, then On again did seem to clear something. This worked to restore my WiFi with normal speeds. Lot faster than resetting. Found that from another VPN client help guide:

https://www.expressvpn.com/support/trou ... ected-vpn/

jenneking
OpenVpn Newbie
Posts: 3
Joined: Fri Mar 17, 2023 1:22 am

Re: No internet connection after disconnecting from OpenVPN server

Post by jenneking » Sat Mar 18, 2023 8:54 pm

UPDATE: I have an eero wifi mesh and turned on WPA3 in the labs (under Discover, eero Labs Beta - Activate WPA3 slider to on). This made my WiFi work again. I'll monitor this, but this may be the trick.

Macbook Apple M1 Pro - Ventura 13.2.1

Narrowed my VPN client out as I seemed to have issues when my device went to sleep regardless of connecting to VPN.

Post Reply