Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

efw(endian firewall) by default close p2p traffic, to enable that i open all 1024:65535 ports. its work, but it's a bad solution.

i try open 6881:7000 & 2710 also client selected port but it's not working.

is any other better solution?

share|improve this question
Since it works with the more permisive rule just run tcpdump and see what is actually being used. – Zoredache Aug 29 '10 at 17:41

Bittorent clients don't necessarily always use the same port, but they generally only use one port at a time. Pick a port, any port, and tell your client to use it always, and then just open that one port.

Note that not only do you need that port to be opened, you also need it to be forwarded to your computer if you're running behind a NAT router (which almost everyone is).

share|improve this answer
when i open 1024:65535 ports, then i can download torrent files, therefore i dont need port forwarding (i think) – hamedsh Aug 29 '10 at 9:44
You need port forwarding if you are using NAT, ports and are creating incoming connections to that port. – David Rickman Aug 29 '10 at 18:01

Is efw a stateful firewall? If it is, opening up one or two ports (one port per computer if you're behind a NAT) should be sufficient. Open up both TCP and UDP on those ports just to be safe. If it's not stateful... then... uh... this might be a bit tougher. Sorry if I can't be of any more help.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.