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.
Arch Linux and a VPN provider
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVPN Protagonist
- Posts: 11139
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Arch Linux and a VPN provider
Look in your log file for "redirect-gateway"
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Jan 31, 2018 5:21 pm
Re: Arch Linux and a VPN provider
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?
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Jan 31, 2018 5:21 pm
Re: Arch Linux and a VPN provider
Hmm, didn't work eventually. I have to figure out how to solve this.
-
- OpenVPN Protagonist
- Posts: 11139
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Arch Linux and a VPN provider
See log and verb in the manual ..