• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

UTorrent only through VPN: could a virtualized pfSense hep me?

Scheduled Pinned Locked Moved General pfSense Questions
5 Posts 3 Posters 2.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    mika91
    last edited by Oct 17, 2012, 4:06 PM

    Hi,

    I'm just finish building my HomeServer powered with Whs2011, and now I have to secure my uTorrent/eDonkey traffic.
    I suscribed a one-year contract to VPN Server provider (VPNFacile), but I can't figure how to use it properly.
    I succeed to configure OpenVPN service, but it has some drawbacks:
    -> Frequent DNS losses
    -> Frequent disconnection (solved with auto-reconnect option)
    -> All my server traffic through VPN

    I need only uTorrent/eDonkey traffic through VPN!
    A friend of mine suggests to take a look at pfSense.
    I did, but I'm a network noob, so I need you :)

    So the main idea would be to virtualize pfSense in a vmware windows host.
    So my server will be reachable through my provider static IP, and pfSense will use an openvpn tunnel.
    Now i need to be sure that is possible to uTorrent and eDonkey to use pfSense connection and not the server one.

    As you see, I'm a little bit confused…and greetly need your help!
    Thanks

    Edit: My server as only one network card

    1 Reply Last reply Reply Quote 0
    • D
      dreamslacker
      last edited by Oct 18, 2012, 9:14 AM

      There's something called multi-homing.  Basically, you have more than one IP address on an interface card within the same network.

      What you can do is to set a 2nd IP (LAN) for the server.  uTorrent can bind by IP address on the local adapter so that it only uses that particular IP for traffic.

      If you're using eMule, the option is also available via manually adding a configuration line to the preferences.ini file:
      See:  http://forum.emule-project.net/index.php?showtopic=133920

      In pfSense, you would simply set traffic from that particular IP to go through the VPN tunnel instead of default gateway (Manual Advanced Outbound NAT will work just fine here).

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Oct 18, 2012, 9:59 AM

        To be honest although you could do this with pfSense I expect it would be easier to do this directly from WHS. If you setup the VPN link can you not get emule to use that connection exclusively? Bind to the VPN IP for example.

        Steve

        1 Reply Last reply Reply Quote 0
        • M
          mika91
          last edited by Oct 18, 2012, 2:36 PM Oct 18, 2012, 2:02 PM

          @stephenw10:

          To be honest although you could do this with pfSense I expect it would be easier to do this directly from WHS. If you setup the VPN link can you not get emule to use that connection exclusively? Bind to the VPN IP for example.

          Steve

          I'd like to do this directly from WHS, but I'm not sure it's possible to "split" the traffic or bind VPN to another IP.

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Oct 18, 2012, 4:59 PM Oct 18, 2012, 4:53 PM

            It is possible!
            How complex it might be to do it is another thing.  ;)
            I've never used WHS so I can't speak from personal experience but I would start by seeing what sort of settings are in uTorrent/eDonkey for doing this.

            You first want to change the VPN connection settings so that it doesn't become the default route when connected. Then maybe try running a socks proxy setup to send traffic via the VPN and set your application to use it (if they support proxies).

            There's probably many ways to achieve this.

            Steve

            Edit: Looks like in emule you can just use the BindAddr option to make it use the VPN interface as linked to by Dreamslacker above: http://forum.emule-project.net/index.php?showtopic=143867&view=&hl=BindAddr&fromsearch=1

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received