Jump to content
Not connected, Your IP: 18.224.65.198
TheDarkOnyx

Network Issue - Internet hangs when using another VPN - Linux

Recommended Posts

I am having an issue with my computer (Peppermint 7 and LInux Mint 18 respectively). Whenever I boot up and connect to a VPN server it works fine and no DNS leaks, but when I switch to a different server, ther interner stops working and it says that I am connected to the VPN tunnel. The internet hangs but whenever I connect to an AirVPN server through the Eddie client, it works with no problems at all.

 

(I accidentally turned on Network Lock and it messed up the IPTables, and I do not have a backup.)

I did some looking around and Network Lock edits the Linux IpTables and I don't know how to erase the rules. Nothing helps at the moment.

 

Question is, where do I go to fix the issues Network Lock makes?

 

Thanks.

Share this post


Link to post

I did some looking around and Network Lock edits the Linux IpTables and I don't know how to erase the rules. Nothing helps at the moment

 

 

To flush iptables rules enter the command (from a root terminal):

iptables -F

 

Question is, where do I go to fix the issues Network Lock makes?

 

Network Lock does not cause any problem. If you kill Eddie without grace iptables rules will remain the same and this is not only expected, but it must be so. Traffic leaks prevention must remain enforced in case of OpenVPN or Eddie crash, incorrect behavior by the user etc.

 

In such cases you can either run and shut down properly Eddie to restore your previous rules (because Eddie does backup your system iptables rules before modifying them), or just flush the rules. Both operations are a matter of a few seconds.

 

Kind regards

Share this post


Link to post

To my surprise, the problem wasn't the client, all I had to do was to change one line in the config in /etc/NetworkManager/NetworkManager.conf and I cut out the line where it says "dns=dnsmasq". From there, I was able to route all traffic inot the VPN client and the VPN connection doesn't hang. Thanks for your suggestions, they did help in shoirt term.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...