I want to run two OpenVPN client instances on an Ubuntu Server 14.04. I have both .conf files that can work independently (both are set to different interfaces - tun0 and tun1). I want to run both at the same time, and route traffic from one application into one VPN (Private Internet Access) and all other traffic into the other VPN (An OpenVPN server I have set up on another machine).
I've been doing some research but haven't found a way to make this work. If this helps, I've included my current routing table and one of the server .confs. OpenVPN starts them automatically on boot.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.160.1.5 128.0.0.0 UG 0 0 0 tun0
default 155.92.105.254 0.0.0.0 UG 0 0 0 eth0
10.160.1.1 10.160.1.5 255.255.255.255 UGH 0 0 0 tun0
10.160.1.5 * 255.255.255.255 UH 0 0 0 tun0
64-237-37-119.c 155.92.105.254 255.255.255.255 UGH 0 0 0 eth0
128.0.0.0 10.160.1.5 128.0.0.0 UG 0 0 0 tun0
155.92.104.0 * 255.255.254.0 U 0 0 0 eth0