My company is using a pfsense router to manage a simple VPN for the office. The idea is that I should be able to connect to the VPN from home and use it to (a) access servers on the office LAN and (b) visit our AWS-based webservers over ports 22 and 80 via the VPN.
Unfortunately, it's currently setup as an all-or-nothing deal: if I connect to the office VPN, all of my web traffic goes through there, and I'd rather not do that.
I'm running GNOME 3.22.2 with NetworkManager and the OpenVPN plugin on Gentoo Linux, so help with these tools in mind would be appreciated.
First install
network-manager-openvpn
andnetwork-manager-openvpn-gnome
.Restart the network-manager service (check for your system)
and go to the
Network Settings
. From there add a new VPNAdd a new VPN
probably by choosing Import from file (.ovpn file).
After adding username and password go to the
IPV4
tab and select the optionUse this connection only for resources on its network
Choose the option image