LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-25-2011, 05:02 AM   #1
yuri_d
LQ Newbie
 
Registered: Mar 2006
Posts: 26

Rep: Reputation: 15
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!
 
  


Reply

Tags
torrent, vpn



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
beginning interface eth0 : device eth0 has different MAC address to expected.FAILED petrofrontier Linux - Software 2 02-28-2011 11:09 AM
LXer: Compile rTorrent From SVN In Ubuntu 10.04/Debian Lenny With Coloured Interface LXer Syndicated Linux News 0 05-07-2010 07:20 AM
ERROR: The interface does not exist (UBUNTU) interface eth0 not configured anshulbhatt Linux - Networking 2 11-20-2008 12:23 PM
Bringing up interface eth0 Delaying eth0 initialization. [ FA bansal_ashok Linux - Networking 4 05-27-2005 10:09 AM
Bringing up interface eth0: determining ip information for eth0... failed ralphethomas Linux - Networking 0 01-24-2004 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration