You are not logged in.

#1 2018-12-19 15:23:40

darklord69
Member
Registered: 2018-09-14
Posts: 8

OpenVPN connected but no internet connection.

I received OpenVPN information from my company today.
I am able to use OpenVPN client on Windows and Android to connect and browse the web, but when I use OpenVPN on Arch Linux, the connection is successful but I can't browse any websites. The IT support guy in my company doesn't support me because he doesn't know anything about Arch Linux.

When I try to ping www.google.com, the IP is resolved so it's not a DNS issue.

PING www.google.com (172.217.194.103) 56(84) bytes of data.
^C
--- www.google.com ping statistics ---
12 packets transmitted, 0 received, 100% packet loss,  time 151ms

Please tell me if I need to provide any additional information.

Last edited by darklord69 (2018-12-19 16:03:58)

Offline

#2 2018-12-19 15:36:04

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: OpenVPN connected but no internet connection.

Remove the cry for help from your title...
https://wiki.archlinux.org/index.php/Co … ow_to_post


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-12-19 15:36:33

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: OpenVPN connected but no internet connection.

A log from openvpn would be helpful but make sure you remove any identifying info from it (home IP or the like) you don't want shared.

Offline

#4 2018-12-19 16:26:41

darklord69
Member
Registered: 2018-09-14
Posts: 8

Re: OpenVPN connected but no internet connection.

Slithery wrote:

Remove the cry for help from your title...
https://wiki.archlinux.org/index.php/Co … ow_to_post

Sorry for that, I've removed it.

graysky wrote:

A log from openvpn would be helpful but make sure you remove any identifying info from it (home IP or the like) you don't want shared.

Here is the log from `journalctl -u NetworkManager`: https://pastebin.com/XzSimG8s

Offline

#5 2018-12-19 16:50:51

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,721
Website

Re: OpenVPN connected but no internet connection.

If you use NetworkManager, tell it to use the VPN connection for the VPN network's resources only.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#6 2018-12-19 16:52:01

darklord69
Member
Registered: 2018-09-14
Posts: 8

Re: OpenVPN connected but no internet connection.

schard wrote:

If you use NetworkManager, tell it to use the VPN connection for the VPN network's resources only.

But that means the web traffic won't go through VPN, right?

Offline

#7 2018-12-19 16:54:38

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,721
Website

Re: OpenVPN connected but no internet connection.

Yes. I assumed this is what you were looking for.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#8 2018-12-19 17:03:57

darklord69
Member
Registered: 2018-09-14
Posts: 8

Re: OpenVPN connected but no internet connection.

schard wrote:

Yes. I assumed this is what you were looking for.

When I told it to use the VPN connection for the VPN network's resources only, I was able to browse the company's internal website, but for only some seconds and then I got denied like I wasn't using VPN.

Offline

#9 2018-12-19 17:14:25

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: OpenVPN connected but no internet connection.

I don't know networkmanager... what happens if you use something like systemd-network to get your LAN up and then the openvpn@ service with their config?

Offline

Board footer

Powered by FluxBB