aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule via OpenVPN?  (Read 4322 times)

Obeliks

  • Guest
aMule via OpenVPN?
« on: April 26, 2006, 06:06:51 PM »

Hi. I installed aMule yesterday, so I can have it running on my fileserver all night long ;)

Now my problem is, that I'm behind a NAT (and if that wasn't enough, ed2k traffic is limited to 10k or something).
Since the server has a steady connection to an OpenVPN server, I was wondering if I can patch aMule through there? I tried googling and searching the usual suspects (including this forum), but I didn't exactly stumble across any regarding information.

Thanks for any advice you can give me!

Sincerely, Obeliks
« Last Edit: April 26, 2006, 06:09:49 PM by Obeliks »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: aMule via OpenVPN?
« Reply #1 on: April 26, 2006, 11:51:29 PM »

just change the default route to go to the openvpn gateway...amule will use that aswell and all your traffic will go there...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Obeliks

  • Guest
Re: aMule via OpenVPN?
« Reply #2 on: April 30, 2006, 02:36:34 PM »

Thanks, but that won't work... I can't have all the traffic going via the OpenVPN, for performance and financial (traffic) reasons...

I guess amule doesn't support binding to a certain IP or network interface? too bad...
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule via OpenVPN?
« Reply #3 on: April 30, 2006, 07:49:09 PM »

It does. check preferences.
Logged

Obeliks

  • Guest
Re: aMule via OpenVPN?
« Reply #4 on: April 30, 2006, 07:55:19 PM »

Quote
Originally posted by Kry
It does. check preferences.

Sorry I missed that. Is this option available in the amuled daemon config? Because I can't find it there... or am I being blind? ;)
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule via OpenVPN?
« Reply #5 on: April 30, 2006, 08:06:51 PM »

Code: [Select]
grep -hi addr amule.conf
Address=
ECAddress=
Logged

Obeliks

  • Guest
Re: aMule via OpenVPN?
« Reply #6 on: April 30, 2006, 08:11:40 PM »

Ok, I am being blind. Sorry! Thanks for your help!
Logged

Obeliks

  • Guest
Re: aMule via OpenVPN?
« Reply #7 on: May 01, 2006, 11:29:12 AM »

Ok, I tried putting Address=172.20.0.6 (my openvpn address), but all connections still seem to be made locally, none via the vpn.
What could I be doing wrong?

EDIT: Ok, I'm postponing this question. Obviously just listening on the openvpn address doesn't route created connections through it. Hope I can figure out how to narrow an iptables rule down to all packages from amule. Any ideas?
« Last Edit: May 01, 2006, 12:04:00 PM by Obeliks »
Logged

Obeliks

  • Guest
Re: aMule via OpenVPN?
« Reply #8 on: May 01, 2006, 11:39:29 PM »

Quote
Originally posted by Kry
It does.

But I guess aMule doesn't support binding to a certain interface/address for outgoing connections, does it? Because OpenVPN drops the packages for having a bad/unknown source address, and my efforts to mangle the address failed so far.
Logged