aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Shorewall  (Read 2092 times)

ricardo.david

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Shorewall
« on: January 16, 2005, 09:26:36 PM »

Guess it is more a Shorewall issue than aMule but after exausting search here it goes: aMule, xMule or mlDonkey just don't work on a linux box with shorewall. Yes, I open 4662 port to the world. Shutting down shorewall and exposing my box, connection goes ok.
Any clues?
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Shorewall
« Reply #1 on: January 16, 2005, 10:04:38 PM »

Yes. Your shorewall is configurated incorrectly. Google for the answer.

Regards.
Logged

geeko

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 132
    • http://geeko.planetaclix.pt
Re: Shorewall
« Reply #2 on: January 17, 2005, 08:14:37 PM »

hi,

Using the default ports, try these rules...
Code: [Select]
file:[b]/etc/shorewall/rules[/b]
ACCEPT net fw tcp 4662 -
ACCEPT net fw udp 4672 -
ACCEPT fw net tcp 4661,4662 -
ACCEPT fw net udp 4665 -
#ACCEPT net fw tcp 4711 -
#ACCEPT net fw udp 4712 -

And if you want to give external access to amule, just uncomment the last 2 lines

HTH
Regards
--geeko
Logged

lfroen

  • Guest
Re: Shorewall
« Reply #3 on: January 18, 2005, 09:43:56 AM »

If I recall correctly, shorewall is bunch of scripts driving iptables. So, please, instead of posting config of shorewall, post actuall iptable configuration it produces. Do it with "iptables -L -v" and you will see what's really happening.
Logged