aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Which port i have to open to amule connect? (Not a low and high id question)  (Read 2842 times)

stormrider

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15

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?
Logged

errico2

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 65

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
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235

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
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."

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1551
  • Unofficial Debian Packager
    • http://vollstreckernet.de

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.
Logged
Homefucking is killing prostitution