3

When I am connected to a paid VPN my internet connection drops when I send any kind of request to the network.

I recorded a 1min video where you can see the pings stop answering after I do a simple tracepath why?

https://www.youtube.com/watch?v=IfxtEUVuhEI

I don't really know where to start.

*edit: I have added a second 1min long video showing a bit more details using the mtr tool. As soon as I open the browser the internet drops...

https://youtu.be/-SI7K92kiv8

10
  • Is your VPN host booting you off because they have a policy against sending specific types of traffic? Commented Feb 24, 2017 at 0:09
  • I would say no. I have been using them without problems. They even allow P2P traffic. Commented Feb 24, 2017 at 0:14
  • Do you see an interruption of traffic or are ping replies your only indication? The destination you sent pings to had a very high latency. Internet facing devices often lower the priority of ICMP echo reply traffic. Commented Feb 27, 2017 at 23:18
  • Hey @TDurden I have recorded a new video using mtr tool. There is a interruption of traffic. youtu.be/-SI7K92kiv8 Commented Mar 3, 2017 at 0:11
  • Is it possible your ISP or work administrator (depending upon whether you were at home or at work when you recorded these videos) is preventing you from using a VPN? If so, the simplest is to change the OpenVPN server to listen on port 443TCP because most nasty firewalls must allow connection to safe sites, and these are automatically encrypted. Also, you should try connecting outside the network manager. Can you try these two things? Commented Mar 3, 2017 at 7:36

4 Answers 4

1

You have a complex situation, due to the superposition of two distinct issues: OpenVPN and NetworkManager. It is not clear to me where exactly the problem lies, so I suggest you activate OpenVPN directly, without passing thru Network-Manager:

sudo openvpn --config /path/to/your/file.conf 

If this this works, then we can be sure that the fault lies squarely with Network-Manager, while if it does not, error messages will be provided (either in /etc/openvpn or in /var/log/openvpn.log, depending on how you set this up).

I never pass thru Network-manager because I have had problems with it in the past. Since you are a fellow Archer, one might think that we may have experienced a similar problem, but I think this unlikely. I have never managed to pinpoint it, but I found that a reduction of the mtu helps: say, use mssfix or even mtu-test in the configuration file. However, these options only make sense for OpenVPN over UDP (my case), but if I read your comments right, you are using OpenVPN over TCP, so no dice there.

At any rate, I have resorted to connecting to OpenVPN directly, as per the command above. Hope this helps, cheers.

1
  • Thank you. In fact OpenVPN worked just fine without networkmanager . The symptoms were really odd and I never thought networkmanager could be the issue. Thanks again. Commented Mar 12, 2017 at 3:52
0

I don't think your Internet connection is dropping per sey, rather I think that Internet is being rerouted through the VPN connection and is not finding a reverse path.

In order to diagnose the problem, I'd suggest using more powerful tools like Mtr/WinMTR or similar to show the path the packet is taken, and also keep an eye on what happens to the routing table - I suspect that the default route is changed.

One thing to look out for (although this is unlikely to be the issue - it would seem more likely to be a VPN configuration setting somewhere) is that when the VPN comes up, a static route should be created through your gateway machine so that your computer can reach the VPN endpoint and route traffic through it.

4
  • Hey @davidgo I have updated my question using mtr. Commented Mar 2, 2017 at 23:59
  • I've not seen this before - it seems like the routing issues are triggering when a page is loaded, I didn't know this could be done (without jumping through hoops). Commented Mar 3, 2017 at 0:46
  • Do you think it can be caused by the Network Manager? you could see when the connection resets.. Commented Mar 3, 2017 at 0:59
  • I do, but I'm just guessing. Commented Mar 3, 2017 at 1:10
0

Maybe your VPN provider doesn't allow UDP traffic (streaming video or voice calls ...etc). And since traceroute is using UDP, this could be an issue.

Could you try tcptraceroute (that uses TCP instead of UDP) and see how it goes ?

2
  • If you could, please check out the second video I posted. I also drops as soon as I open my browser (creating some traffic). Commented Mar 10, 2017 at 1:00
  • Yes, I did watch that video. Traceroute (mtr) traffic is using UDP traffic to diagnose. That's why I suggested using tcptraceroute (uses TCP) instead to see if UDP is the culprit. Commented Mar 10, 2017 at 15:00
0

I had a similar issue. My problem was the name server was changing from the default one to the one being provided by the VPN service. Bottom line being DNS didn't work properly. Of coarse, your mileage may vary. Maybe my issue. Just a thought.

1
  • I am using the IP address directly if you check the videos. Thanks. Commented Mar 10, 2017 at 1:02

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.