aMule Forum
English => aMule Help => Topic started by: jibou on October 05, 2004, 08:03:43 AM
-
Hi all,
I''ve just tried to manage my iptables in order to close every port of my mdk10.0. So, as it's been writen in so much forums, I've opened 4662 and 4672. I've also opened 4662 +3 = 4665 .
My problem is that aMule can't connect to servers. the log of iptables give plenty of dropped connections, most of them are OUTPUT from a RANDOM PORT (>34000) of my pc to 4661 of the servers that are registered in my list of servers.
I've tried to get information about this issue, because I don't want to keep opened so much ports. All that I've found is that emule has got a parameter called ServerUDPPort in a preferences.ini file. This parameter seems to have default value=65535, which means that emule is allowed to use random ports to connect to severs. If the emule user sets ServerUDPPort to 5321, for example, then emule won't use random port anymore and the MSWindow user can properly set his firewall.
Is it possible to modify the ServerUDPPort parameter in aMule ? Can I stop random port use ? Do I need to upgrade ?
Thanks in advance
Jibou
-
hey
thing is most server dont let old amule verions connect anymore...since back then there was an error in zlib...
so you should upgrade either to 1.2.8 or to 2.0.0rc6...
I would recommend you to use rc6 since its a far more advanced clinet and also only rc because of MacOS not because of linux
stefanero
-
Thanks, you're right, I had to upgrade.
BUT, at least with MDK package, aMule still try to use ports such as 32942, 32941 ....
Does anyone know how to modift the ServerUDPPort in aMule, like it's possible to do within emule ?
thanks in advance.
Jibou
-
I think he ports you receive are connection ports to other cleints...you connect to a server with a TCP port, and to clients with UDP ports when enabled,
but when you configured your firewall right there should not be a problme, and dont worry about the remote ports.
stefanero
-
Thanks for your help Stefanero,
In fact I guess I'm still a newbie. But I've spent a pretty long time trying to understand this :
I can see when I click on connect in aMule that it's trying to connect to an adress such as 80.158.164.91:4661, for example. It's a server adress. The Connect button keeps on "Cancel" and it doesn't succeed. Within 30 secondes it stops trying.
Then I go to my iptables messages, and I can see it has blocked a big number of lines such as :
* OUT=ppp0 -sport=34521 -dport=4661 *
which means that my amule istrying to use my port 34521, doesn't it ?
Thanks again.
Jibou
-
Hi all,
Maybe I'm solving my own problem http://www.amule.org/amule/images/bunfirlite/smilies/pleased.gif
I've found interesting informations on :
http://www.amule.org/amule/thread.php?threadid=1723&sid=&threadview=0&hilight=iptables&hilightuser=0&page=2
maybe, I just need to enable NEW, RELATED, ESTABLISHED connections to dport=4661 and only RELATED, ESTABLISHED from sport=4661. Then, the high ports can be opened. I'm gonna try.
Jibou