You are not logged in.

#1 2018-08-30 09:12:24

MonfortS26
Member
Registered: 2018-08-30
Posts: 7

[SOLVED] VPN Split Tunneling

I've been looking for a way to traffic certain applications through my vpn while the rest is just through my normal internet. I found this article https://www.htpcguides.com/force-torren … ntu-16-04/ and followed it step by step and I got to the end where it has me testing out whether or not it works. The first test, where it tests out the OpenVPN service, shows that the VPN succesfully initialized the same way it would if I were to launch it normally. But when I get to

 sudo -u vpn -i -- curl ipinfo.io 

It stalls and eventually spits out

 curl: (6) Could not resolve host: ipinfo.io

. It works when I just run the command from the normal user but when I attempt it through the vpn user I created it can't resolve the host and I can't figure out why. Any ideas would be greatly appreciated.

Last edited by MonfortS26 (2018-12-01 00:06:54)

Offline

#2 2018-12-01 00:04:23

MonfortS26
Member
Registered: 2018-08-30
Posts: 7

Re: [SOLVED] VPN Split Tunneling

Problem was solved by adding .sh to update-resolve-conf at the last line of /etc/openvpn/openvpn.conf

Offline

Board footer

Powered by FluxBB