LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Get Rtorrent to use a VPN interface, everything else via eth0 (https://www.linuxquestions.org/questions/linux-networking-3/get-rtorrent-to-use-a-vpn-interface-everything-else-via-eth0-882593/)

yuri_d 05-25-2011 05:02 AM

Get Rtorrent to use a VPN interface, everything else via eth0
 
Hello
Could you please help me with linux set up.

so I need to send and receive all traffic originating from ppp0 (rtorrent) to the internet but all other traffic via eth0


I seem to have successfully connected to VPN via pptp and have my interface ppp0 assigned ip 172.16.0.14

eth0 - 192.168.0.2

System's default gateway is 192.168.0.1
should I add a default gateway 172.16.0.1 for my ppp0?

ip route returns:

[root@pdc iproute2]# ip route
172.16.0.1 dev ppp0 proto kernel scope link src 172.16.0.14
192.168.0.0/27 dev eth0 proto kernel scope link src 192.168.0.2
169.254.0.0/16 dev eth0 scope link
default via 192.168.0.1 dev eth0

Sorry I am not an expert so could you pleas help.
Many thanks in advance!


All times are GMT -5. The time now is 03:42 PM.