Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: rtorrent over VPN

  1. #11
    Join Date
    Nov 2007
    Location
    Newry, Northern Ireland
    Beans
    1,258

    Re: rtorrent over VPN

    What VPN are you using?

    In OpenVPN, you can run a script on establishment of a tunnel and another when the tunnel closes. in the UP script, start rtorrent and in the DOWN script you could then terminate the rtorrent process.

    I don't know enough about IPSEC and other VPNs to know if this is possible using them.
    Can't think of anything profound or witty.
    My Blog: http://gonzothegeek.blogspot.co.uk/

  2. #12
    Join Date
    Jun 2007
    Beans
    24

    Re: rtorrent over VPN

    Quote Originally Posted by spynappels View Post
    What VPN are you using?

    In OpenVPN, you can run a script on establishment of a tunnel and another when the tunnel closes. in the UP script, start rtorrent and in the DOWN script you could then terminate the rtorrent process.

    I don't know enough about IPSEC and other VPNs to know if this is possible using them.
    I have not specified the software yet, waiting for the new hardware Doing some testing on my old machine.

    I did not think of using the VPN client to solve my problem but that seems reasonable. I was thinking that rtorrent might have some configuration parameter that limits the traffic to flow through only for example eth1, if eth1 is the established tunnel.

  3. #13
    Join Date
    Apr 2009
    Location
    Texas
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: rtorrent over VPN

    Yea you are looking for a script of some sort to tell rtorrent when to run. If openvpn has a built-in method of doing this than that would be the best route...or to hand write it.
    Ubuntu Christian Edition chat on irc at server: OFTC/channel: #ubuntuCE
    BootInfoScript DualBooting
    Grub Grub2 MBR/GRUB
    Boot Info Script courtesy of community member meierfra and ghulselmans

  4. #14
    Join Date
    Nov 2007
    Location
    Newry, Northern Ireland
    Beans
    1,258

    Re: rtorrent over VPN

    More than one way to skin a cat!

    That's what I meant about looking at the problem from a completely different angle, once you know exactly what is required.

    Have a look at OpenVPN, it is great if you are setting up your own VPN and can control all client access. If you want to use it to connect to other third party VPN end-points, it may not work for you though.

    Hope it works out for you.
    Can't think of anything profound or witty.
    My Blog: http://gonzothegeek.blogspot.co.uk/

  5. #15
    Join Date
    Jun 2007
    Beans
    24

    Re: rtorrent over VPN

    Quote Originally Posted by spynappels View Post
    More than one way to skin a cat!

    That's what I meant about looking at the problem from a completely different angle, once you know exactly what is required.

    Have a look at OpenVPN, it is great if you are setting up your own VPN and can control all client access. If you want to use it to connect to other third party VPN end-points, it may not work for you though.

    Hope it works out for you.
    I'll do that and post a solution if I manage to get it up and running.

    Thanks for the help! and sorry for me being an *** from time to time

  6. #16
    Join Date
    Nov 2007
    Location
    Newry, Northern Ireland
    Beans
    1,258

    Re: rtorrent over VPN

    No Probs!

    Have fun tinkering!
    Can't think of anything profound or witty.
    My Blog: http://gonzothegeek.blogspot.co.uk/

  7. #17
    Join Date
    Jan 2008
    Location
    United Kingdom
    Beans
    258
    Distro
    Ubuntu Development Release

    Re: rtorrent over VPN

    I posted something almost identical to this the other day but received no responses so I'll reword the question on this thread...

    Does anyone know how to run a script on the termination of a connection over network-manager-pptp?

    Cheers,
    JC

  8. #18
    Join Date
    Mar 2010
    Beans
    22

    Re: rtorrent over VPN

    Quote Originally Posted by mtecknology View Post
    2a) If what you want is to tunnel the traffic over VPN, then just do that. Setup a port for your torrent client, forward the port over the VPN. Easy as pie. There's plenty on google about doing that.
    I'm trying to do exactly that but I can't seem to find anything relevant on google. How is the "forward the port over the vpn"- part done ?

    I'm trying to get only my torrent client to use the VPN and not any of the other programs connected to the internet. At the moment I only seem able to route all my internet traffic through the VPN.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •