aMule Forum
English => aMule Help => Topic started by: jbc 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
-
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.
-
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.
-
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.
-
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?
-
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
-
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.
-
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
-
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:
/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
/usr/sbin/iptables -L
you 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
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 :)
-
Thanks for help ! I'll try this ASAP, and I'll let you know if it works.
Greetings
JB
-
Fantastic guy !!!!! It finally works !!!!! Thank you !!!!