You are not logged in.

#1 2010-04-01 09:18:12

heinrisch
Member
Registered: 2009-02-16
Posts: 9

rtorrent over VPN

Hi there,

I want to run rtorrent over a VPN connection.

I have used pppd to establish the connection to the VPN and set up the interface ppp0:

ppp0      Link encap:Point-to-Point Protocol
          inet addr:XXX.XXX.XXX.XX  P-t-P:XXX.XXX.XX.X  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1496  Metric:1
          RX packets:336 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:31830 (31.8 KB)  TX bytes:96 (96.0 B)

Now I want to know how to run rtorrent and use that connection. Can anyone help me?

Offline

#2 2010-04-01 20:02:51

spkag
Member
From: France
Registered: 2010-03-31
Posts: 24

Re: rtorrent over VPN

Err... Have you tried to configure .rtorrent.rc ? Show us how yours look like if you have.

Offline

#3 2010-04-01 20:12:52

heinrisch
Member
Registered: 2009-02-16
Posts: 9

Re: rtorrent over VPN

spkag wrote:

Err... Have you tried to configure .rtorrent.rc ? Show us how yours look like if you have.

Well I have the standard cfg, there is nothing to define the adapter in there.

Offline

#4 2010-04-01 20:45:05

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: rtorrent over VPN

Yes there is...

Offline

#5 2010-04-01 20:45:52

heinrisch
Member
Registered: 2009-02-16
Posts: 9

Re: rtorrent over VPN

Daenyth wrote:

Yes there is...

Can you please tell me what option that is?

Offline

#6 2010-04-01 21:22:23

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: rtorrent over VPN

As long as your default route points to that interface, rtorrent and any other net applications will use it.

Offline

#7 2010-04-01 21:32:07

heinrisch
Member
Registered: 2009-02-16
Posts: 9

Re: rtorrent over VPN

tomk wrote:

As long as your default route points to that interface, rtorrent and any other net applications will use it.

Could you show me how to set up does default route points?

What I want most is that that only rtorrent uses that interface, but if all applications use it would be good enough I guess.

Offline

#8 2010-04-01 23:19:12

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: rtorrent over VPN

man route has the details on default routes.

If you only want rtorrent using ppp0, look for the bind = x.x.x.x parameter in rtorrent.rc.

Offline

Board footer

Powered by FluxBB