I've been working with my Pi running Raspbian lately, and I almost have everything set up as I would like. However, I've been stuck for a bit on my next plan - incorporating a VPN connection.
I have transmission-daemon running, the transmission remote gui running, and a nginx webserver running. I have my VPN running (interface ppp0) and routing all traffic over it, while the remote gui and nginx traffic go over eth0, not to the VPN. Can someone help talk me through the routes I need to add to my routing tables to do that? Here are my route -n outputs:
Before VPN:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
After VPN connected:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
10.4.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
37.48.66.67 192.168.1.1 255.255.255.255 UGH 0 0 0 eth0
37.48.66.67 192.168.1.1 255.255.255.255 UGH 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0