question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lose internet access when connected

See original GitHub issue

Describe the bug I set up Outline Server on a Ubuntu 20.04 cloud server and can successfully connect to it using the Outline Client from my Ubuntu 20.04 laptop, but once the Outline Client is connected, I have no web access from the Ubuntu laptop.

By disconnecting Outline I can again access the web from my laptop, and can access the server console over ssh, and successfully traceroute twitter.com etc, so the server does have web access. After disconnecting Outline Client, Firefox on my laptop has trouble waking up on some domains, so I am submitting this using a different browser.

With Outline connected, route -n gives:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.0.85.2       0.0.0.0         UG    10     0        0 outline-tun0
10.0.85.0       0.0.0.0         255.255.255.0   U     0      0        0 outline-tun0
xx.xx.xx.xx  192.168.43.1    255.255.255.255 UGH   5      0        0 wlp2s0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlp2s0
192.168.43.0    0.0.0.0         255.255.255.0   U     600    0        0 wlp2s0

Where xx.xx.xx.xx is the IP of my cloud server.

With Outline disconnected, route -n gives:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.43.1    0.0.0.0         UG    0      0        0 wlp2s0
10.0.85.0       0.0.0.0         255.255.255.0   U     0      0        0 outline-tun0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlp2s0
192.168.43.0    0.0.0.0         255.255.255.0   U     600    0        0 wlp2s0

I recently tried setting up Wireguard on a cloud server and had the same problem, so this may be due to something local although I have since done a clean install of Ubuntu 20.04 on my laptop.

I wonder then if the issue is because I’m connecting via a mobile hotspot.

It isn’t a firewall issue because I have the firewall turned off on both client and server: ufw status # shows ‘inactive’ on both.

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • Browser Firefox or Chromium
  • Latest versions

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:18

github_iconTop GitHub Comments

7reactions
Rayrsncommented, Feb 20, 2022

This bug still hasn’t been fixed in 2022

1reaction
sepsohcommented, Jul 21, 2022

for fix it 1 - sudo ip link set outline-tun0 down (outline-tun0 may be different check ip addr ) 2 - sudo dhclient -r eth0 (eth0 is your internet interface and may be differ check ip addr) 3 - sudo dhclient eth0 now your internet is connected (and you can start outline again) 4 - sudo ip link set outline-tun0 up

Read more comments on GitHub >

github_iconTop Results From Across the Web

No Internet Connection? How to Troubleshoot Internet Issues
Restarting your modem and router should be the first thing you do when encountering an internet signal issue. Don't skip this step! This...
Read more >
No Internet Connection? 10 Fixes to Test (and Get Back Online)
One of the most common reasons for losing an internet connection is a loose, unplugged, or damaged cable. Give your cables a light...
Read more >
Connected to Wi-Fi, but No Internet Access in Windows? What ...
How to Fix "No Internet Access" Errors in Windows · Confirm other devices can't connect · Reboot your PC · Reboot your modem...
Read more >
WiFi Connected But No Internet? (Reasons and Fixes)
How to resolve the “WiFi Connected But No Internet” across your entire network.
Read more >
How to Fix It When There's No Internet Connection - Lifewire
How to Fix It When You Have No Internet Connection · Reboot your router and modem. · Verify that you're connected to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found