aMule Forum

English => aMule Help => Topic started by: Codeman on November 07, 2006, 01:10:21 PM

Title: aMule 2.1.3: How to use another ethernet-interface
Post by: Codeman on November 07, 2006, 01:10:21 PM
Hi all,

I have a PC with two ethernet ports and I tried to use one for my normal connection and one for aMule. After trying around with iptables / ip I got no working filter  :(

Is there any possibility for telling aMule to use eth1 instead of eth0? Or does anyone know how to set up iptables for this?

Regards, Code
Title: Re: aMule 2.1.3: How to use another ethernet-interface
Post by: Kry on November 07, 2006, 05:40:21 PM
check .aMule/amule.conf, there's an option to select the ip address to bind to.
Title: Re: aMule 2.1.3: How to use another ethernet-interface
Post by: Codeman on November 08, 2006, 09:53:11 AM
Kry,

thanks for your hint, but therre is no option. I guess I have to try the sources and bind hard-coded to an address or implement my own option for that  ;(

Regards, Code
Title: Re: aMule 2.1.3: How to use another ethernet-interface
Post by: Kry on November 08, 2006, 07:57:18 PM
There is that option. I created that option. It must be there.
Title: Re: aMule 2.1.3: How to use another ethernet-interface
Post by: Codeman on November 09, 2006, 08:56:19 AM
Quote
Originally posted by Kry
There is that option. I created that option. It must be there.

What is the name of this option??? I cannot match any line with patterns I thaught that they should match. Perhaps this option is missing in my amule.conf?

Code
Title: Re: aMule 2.1.3: How to use another ethernet-interface
Post by: lfroen on November 09, 2006, 09:05:23 AM
The option is what IP to use, not what ethernet interface. Application can not know layer under IP whether it's ethernet, PPP or anything else.
Title: Re: aMule 2.1.3: How to use another ethernet-interface
Post by: Codeman on November 09, 2006, 10:25:15 AM
Quote
Originally posted by lfroen
The option is what IP to use, not what ethernet interface. Application can not know layer under IP whether it's ethernet, PPP or anything else.

Yes, I understand. But what is the name of the option??? When I search for IP-Adresses in my amule.conf I find nothing what matches...

Code
Title: Re: aMule 2.1.3: How to use another ethernet-interface
Post by: skolnick on November 12, 2006, 01:25:22 AM
Well, in fact I have double-checked my amule.conf file, (Using SVN from Nov. 5th) and I also fail to see the IP binding option  ?( It would also be useful for me, so I'm interested in it too :)

Thanks and regards.
Title: Re: aMule 2.1.3: How to use another ethernet-interface
Post by: ken on November 12, 2006, 06:36:12 PM
I believe it's the "Address=" line in amule.conf.  To control which IP address is used for External Connections (i.e. connections from the remote control clients, like amuleweb, amulegui, and amulecmd), use "ECAddress=".  Each takes an IP address as the value.