Arch Linux and a VPN provider

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
mleppane
OpenVpn Newbie
Posts: 3
Joined: Wed Jan 31, 2018 5:21 pm

Arch Linux and a VPN provider

Post by mleppane » Wed Jan 31, 2018 5:34 pm

I am having problems with a VPN provider. They provide OpenVPN configurations as TLS certificates in one .ovpn file. The company can't help me because I'm using Arch Linux and they are not familiar with it. Even though the NetworkManager-applet shows that the VPN connection is active and my IP changes to the provider's server's one, all traffic goes straight through the physical ethernet interface and not tun0. Has anyone had similar challenges? What could I do? Here's the first lines of the .ovpn config without the secret data:

client
dev tun
proto udp
sndbuf 0
rcvbuf 0
remote REMOTEADDRESS and PORT
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
comp-lzo
setenv opt block-outside-dns
key-direction 1
verb 3

I checked that the data goes only through my Ethernet-interface and not OpenVPN tunnel with ifconfig.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Arch Linux and a VPN provider

Post by TinCanTech » Wed Jan 31, 2018 5:58 pm

Look in your log file for "redirect-gateway"

mleppane
OpenVpn Newbie
Posts: 3
Joined: Wed Jan 31, 2018 5:21 pm

Re: Arch Linux and a VPN provider

Post by mleppane » Wed Jan 31, 2018 6:23 pm

I didn't find the log files and looked up for the redirect-gateway directive and just decided to put redirect-gateway to to the .ovpn file and import it to NetworkManager and now the traffic goes through tun0. Is my setup safe now?

mleppane
OpenVpn Newbie
Posts: 3
Joined: Wed Jan 31, 2018 5:21 pm

Re: Arch Linux and a VPN provider

Post by mleppane » Wed Jan 31, 2018 7:01 pm

Hmm, didn't work eventually. I have to figure out how to solve this.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Arch Linux and a VPN provider

Post by TinCanTech » Wed Jan 31, 2018 8:49 pm

See log and verb in the manual ..

Post Reply