aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: LowID for power users !  (Read 6535 times)

jbc

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 13
LowID for power users !
« on: November 23, 2010, 02:18:57 PM »

Hi,

I've installed Amule Optware package on my Asus RT-N16 router. I configured it correctly I think (ports, Upnp, password,..). I connect via AmuleGUI, and Amuled connects correctly : server list downloaded, Ipfilter downloaded, server connected, but LowID. The 3 ports are correctly forwarded by Upnp to my router (192.168.1.1).My router in in PPoE mode, and my modem is in bridge mode, so it should not block anything.
I've tried :
- Manual forwarding of ports (instead of Upnp)
- Disable firewall and Nat translation
- Disconnections / Reconnections

Do you have an idea on how to reach HighID on this configuration ? Any help appreciated, thanks !!!
JB
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: LowID for power users !
« Reply #1 on: November 23, 2010, 09:59:11 PM »

How did you "forward" a port on the router itself? Where did you forward it to?
Forwarding ports and opening ports are two entirely different subjects afaik.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

jbc

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 13
Re: LowID for power users !
« Reply #2 on: November 25, 2010, 03:55:51 PM »

Sorry for mistaking, I'm not a native english speaker ! :-)
I think I meant "opening" ports... So I suppose, because I see amule ports opened in Upnp open ports list, in which I can also see the Emule ports when I launch it on my PC (I choose different port set, of course). The ports are opened by Amule on the router itself, so the adress for the opened ports is 192.168.1.1 (the adress of the router).

See what I mean ? Do i mistake ? What the hell should I do for HighID on this configuration ??? :-)

Thanks for help.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: LowID for power users !
« Reply #3 on: November 25, 2010, 07:08:34 PM »

Well, installing software on a router itself is not a task for everyday users I'm afraid. You will probably have to ask other people who have installed software on your brand of router before. I imagine you will have to edit some config file in the router's operating system for the router to allow amuled running on it to receive data.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: LowID for power users !
« Reply #4 on: November 25, 2010, 10:03:26 PM »

Quote
The ports are opened by Amule on the router itself, so the adress for the opened ports is 192.168.1.1

Mindfuck. I bet the router is redirecting port X from the external interface to port X on the internal one. Now, I have no idea what your routing table thinks of that, but it's mindblowing.

I'm not even sure what to say about it. Have you tried to port test?
Logged

jbc

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 13
Re: LowID for power users !
« Reply #5 on: November 25, 2010, 11:26:45 PM »

Hi, thanks for you replies.

I've tried the port test, but they look closed  from the net (or amule is not responding, or they are bad redirected).

I'm a bit more than a rookie in using computers, but it's true that I'm not a coder nor I have unix knowledge. So please tell me, why is it mindblowing to find a Upnp redirection that targets 192.168.1.1 ?

Thanks
JB
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: LowID for power users !
« Reply #6 on: November 26, 2010, 03:01:13 AM »

Well, the router is redirecting ports to itself. It just sounds... funny.

I just had the weeeeeeeeeeirdest idea. I wonder if aMule is taking 192.168.1.1 as your IP address, or if it may be taking the actual external IP of your router.

If it's choosing the external interface, the ports will fail to open on the application because the router is redirecting them to itself ( ? ). We do have a config option to force an specific interface.

Please close aMule, then edit amule.conf, and find the line that says:

Address=

and change it to

Address=192.168.1.1

Save the file, then open amule again. It's important that amule is closed while you edit the file, or it'll be overwritten.

If that doesn't work, another option is to do exactly the opposite of that. Disable uPnP in aMule, then go to the router config and remove all forwarded ports if any, and write down your external IP address (let's say a.b.c.d). Then close aMule, and edit amule.conf to change the Address line to:

Address=a.b.c.d

Save the file, and start aMule again. Test ports again.

If neither of those work, then it may be worth checking the debug logs for the application. We'll cross that bridge if we have to.
Logged

jbc

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 13
Re: LowID for power users !
« Reply #7 on: December 05, 2010, 08:24:08 PM »

Hi,

Sorry for this long silence. Many things to do...

Many thanks for these tips. They sounded very uselfull, and I was sure they would work ! Unluckily, I tried both exactly as you mentionned, but none of them worked.

My knowledhe of unix and routers is very limited, and I completely lack new ideas from this point. So if you have some, your help would be greatly appreaciated.

Greetings
JB
Logged

Lord Crc

  • Newbie
  • Karma: 1
  • Offline Offline
  • Posts: 1
Re: LowID for power users !
« Reply #8 on: December 28, 2010, 03:19:09 PM »

I just successfully installed amule on my Netgear WL3500L, using TomatoUSB optware.

To open the ports I had to add some script commands manually, as the GUI interface only allows for port forwarding:
Code: [Select]
/usr/sbin/iptables -I INPUT 1 -p tcp --dport 4662 -j ACCEPT
/usr/sbin/iptables -I INPUT 1 -p udp --dport 4672 -j ACCEPT

Here ACCEPT is the target, if you run
Code: [Select]
/usr/sbin/iptables -Lyou should be able to figure out the correct target by looking at the first column (I saw someone else had "logaccept" (without the quotes) as target for example).

I added the two lines to the "Firewall script" section and rebooted my router.

Running iptables with -L (as above) to verify that they were added I got
Code: [Select]
Chain INPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     udp  --  anywhere             anywhere            udp dpt:4672 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:4662 
...

Hope this helps :)
Logged

jbc

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 13
Re: LowID for power users !
« Reply #9 on: January 10, 2011, 11:40:08 PM »

Thanks for help ! I'll try this ASAP, and I'll let you know if it works.

Greetings
JB
Logged

jbc

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 13
Re: LowID for power users !
« Reply #10 on: January 22, 2011, 11:13:05 PM »

Fantastic guy !!!!! It finally works !!!!! Thank you !!!!
Logged