I'm having an issue with Zorin (17.2) and regaining network access after coming out of VPN. I use Cisco AnyConnect to connect to my work computer. Prior to launching it I can connect to the Internet fine. Same with after starting AnyConnect. However when I disconnect from AnyConnect I can no longer access the Internet and the only way to fix it is to reboot.
To test if this is Zorin specifically our Linux in general I ran a test using Mint Live and once I disconnect AnyConnect the internet comes back up no problem, so I assume this is something Zorin related.
I'm on the network via cable and not wireless. It's an Intel-based chipset. Does anyone have thoughts on how to fix this? Rebooting Zorin every time is a pain. Thanks.
I can't say I know this VPN at all. Does it have a kill switch option that disables your Internet connection when the connection through the VPN stops? Sometimes that gets enables on accident and can cause something like this.
It's not a public, general use VPN; it's a B2B product Cisco offers corporations to enable access to corporate networks. I use it myself, but only on Windows. (Work would hang me from a chandelier if I were caught connecting a personal device.)
Check DNS Settings : Sometimes, the VPN client can alter your DNS settings, which may not revert correctly after disconnecting. You can try resetting your DNS settings manually. Open a terminal and run:
sudo resolvconf -u
If this command is not found, you can manually edit the /etc/resolv.conf file to include a valid DNS server, such as:
nameserver 8.8.8.8
nameserver 8.8.4.4
Restart Network Services: Restarting the network services can sometimes resolve connectivity issues. You can do this by running:
Yes, Cisco AnyConnect may enforce a kill switch-like feature that blocks internet access after disconnection-check its settings or restart Network Manager to restore connectivity.