aMule Forum

English => aMule Help => Topic started by: stormrider on February 01, 2006, 11:37:12 AM

Title: Which port i have to open to amule connect? (Not a low and high id question)
Post by: stormrider on February 01, 2006, 11:37:12 AM
Yesterday, i made a rule with iptables that drop all port, from 0 to 65500. Amule wasn´t able to connect. So i opened port 4662. Still not able. I really wanna to connect with amule, so i closed only from 0 to 1024. Amule connected  :D

But my server runs other things and i´m really worried about security. Can someone tell me which port i have to open?
Title: Re: Which port i have to open to amule connect? (Not a low and high id question)
Post by: errico2 on February 01, 2006, 12:01:16 PM
Storm, when you confiure amule you say it which ports you want to use.
I think that default ports were 4662 (tcp and udp), but I don't remember it.
In any case, you can check it by:
Searching tcp port: netstat -an | grep LISTEN
Searching udp port: netstat -an | grep udp

Regards, errico2
Title: Re: Which port i have to open to amule connect? (Not a low and high id question)
Post by: stefanero on February 01, 2006, 02:32:33 PM
default is
 4662 tcp
4665 udp
4672 udp

and when you setup iptables make sure to open up all ports for IN and OUT, maybe you opend 4662 IN but not out, so it still could not connect
Title: Re: Which port i have to open to amule connect? (Not a low and high id question)
Post by: Vollstrecker on February 01, 2006, 04:15:19 PM
Don't make a rule that drops all. The first matched rule is taken. Disallow all by setting policy to drop, and then allow all you need.