aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Redirect TCP port 4662 from my linux box  (Read 2868 times)

ryosaeb4

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Redirect TCP port 4662 from my linux box
« on: October 07, 2006, 03:11:50 PM »

Hi All

I'm new here, and I use aMule on my mac....

i've problem becouse I'be a Linux server between my modem adsl and my mac.
I can't open the port 4662 to my Macintosh IP...

i give a LOW-ID on aMule becouse I haven't the TCP port Open...

Why I can open this port and redirect it to my computer?


see you
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: Redirect TCP port 4662 from my linux box
« Reply #1 on: October 08, 2006, 07:12:02 AM »

You should be able to do that, but it is a matter of configuring your Linux server.  Therefore, asking in the Mac forum is not getting your question to the proper experts.  Try posting in the "aMule Help" forum, or on another site devoted to Linux configuration.

Sorry I can't be of more help.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Redirect TCP port 4662 from my linux box
« Reply #2 on: October 08, 2006, 10:53:45 AM »

What you need is a kernel with iptables-support and some configuration work...which is unfortunately a bit more complicated. (Maybe there are some easier ways to do that, but it's already some time since I used it and I cannot explain it neither without looking it up, sorry.)
Maybe you've a distribution which have a graphical interface for this, I remember Suse 9.2 including this.

Anyway, what you have to search for is NAT or masquerading. I found an explanation of the needed commands in the iptables-howto: http://www.iptables.org/documentation/HOWTO//NAT-HOWTO-5.html#ss5.1 (and following)
Logged

Truzzone

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 1236
RE: Redirect TCP port 4662 from my linux box
« Reply #3 on: October 08, 2006, 01:02:05 PM »

Hi ,
an example script for simple redirect of the three ports use aMule you find here  ;)
I remind you to activate the portforwarding edit the /etc/sysctl.conf:
Quote
Add/Uncomment the following lines:
net.ipv4.ip_forward = 1
net.ipv4.conf.default.rp_filter = 1

Best regards,

Truzzone  :)
Logged
"Tanta gente crede che dal momento che ha l'ADSL a 4Mega, deve scaricare a 4Mega altrimenti qualcosa non va. O è colpa dell'ISP o di aMule. La questione è invece ben diversa"