Why not register?


Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]

Author Message
PostPosted: Sat Jun 02, 2007 7:15 pm  Post subject: Opening ports and bandwith
Reply with quote
User avatar
Offline

The Ancient One
Joined: Mon Jan 22, 2007 9:13 pm
Posts: 7862
Because I have my own internetconnection now instead of sharing one with around 10 other people, I was tweaking my settings to get the best result for eMule. Everytime I started the application, I got a low ID. So, after checking out how to solve that problem, I opened a range of ports between 4500 and 5000 using the Port Triggering on my modem. The result seemed very good: I got a high ID and downloads resumed shortly after.

But... my ping started to rise beyond recognition: where it usually is around 45 ms, it peeked at almost 3000 ms before timing out for a prolonged period of time. I tried to limit my upload, but to no avail. Only after I closed the ports I had opened for eMule, my ping dropped back to around 45 again.

Does anyone know what caused this? Can anyone help me to solve this problem? Atm I can only use eMule with a low ID, and although it's not life threatening, it's a nuisance because I know eMule is able to perform with a high ID without peeking so high on ping.

Any useful remark will be greeted with gratitude.

_________________
Image
THIRD SEAL MEANS FAMINE


Top
 Profile  
PostPosted: Sat Jun 02, 2007 8:07 pm  Post subject:
Reply with quote
User avatar
Offline

Demon Of The Abyss
Joined: Tue Jun 14, 2005 8:01 pm
Posts: 1130
You only need 1 port forwarded for tcp and 1 for udp. So no need to forward a range of them. But that shouldn't cause any problems.
Check your max connections. Try to lower them. Having too many connections could cause lag like this..

_________________
Got milk?


Top
 Profile  
PostPosted: Sat Jun 02, 2007 8:12 pm  Post subject:
Reply with quote
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
You shouldn't be using default ports either, i would suggest some random high ports, say 10873 TCP and 9873 UDP.

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Sun Jun 03, 2007 12:30 am  Post subject:
Reply with quote
User avatar
Offline

The Ancient One
Joined: Mon Jan 22, 2007 9:13 pm
Posts: 7862
OK, but how about this:

eMule Help wrote:
Why do I get a low ID?
eMule will only work fully if following ports are open for connection
• 4662 TCP (Server low ID)
• 4672 UDP (Kademlia firewalled)
• 4711 TCP (no Webinterface accessible)


And if I want to use those non-standard ports, should I open just those two, like in your example, spud?

@ Vae Victis:

I have these settings atm:

Max sources/file - Hard limit 300
Connection limits - Max. connections 400

Should I lower both or only the "max. connections"? And to what, 100, 200 maybe? Or is that still too much?

_________________
Image
THIRD SEAL MEANS FAMINE


Top
 Profile  
PostPosted: Sun Jun 03, 2007 1:12 am  Post subject:
Reply with quote
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
the ports are configured under options within emule, you need to set them there and then open them on your firewall for it to work.

Those ports you listed are just the defaults, the defaults being the ones that are set when you install emule afresh. The problem with defaults are those are widely blocked by isps all around the world.

Switch the 4662 TCP and the 4672 UDP to something else in options, and use NAT to open just those two ports. Close the range you have open.

Alternatively, some mods do support a range of opened ports, but this is largely to beat traffic shaping actions taken by isps.

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Sun Jun 03, 2007 1:32 pm  Post subject:
Reply with quote
User avatar
Offline

The Ancient One
Joined: Mon Jan 22, 2007 9:13 pm
Posts: 7862
OK, my setup looks like this now:

Image

I have those ports open now and I changed them in options on eMule.
But I still have a low ID.

_________________
Image
THIRD SEAL MEANS FAMINE


Top
 Profile  
PostPosted: Sun Jun 03, 2007 2:03 pm  Post subject:
Reply with quote
User avatar
Offline

Demon Of The Abyss
Joined: Sun Oct 26, 2003 6:10 pm
Posts: 1286
Location: Living in Gordon Brown's HELL
I guess you've restarted emule since you changed the ports?

_________________
"Oh good God, i think he's the antichrist" (Up in smoke)


Top
 Profile  
PostPosted: Sun Jun 03, 2007 2:23 pm  Post subject:
Reply with quote
User avatar
Offline

The Ancient One
Joined: Mon Jan 22, 2007 9:13 pm
Posts: 7862
Yes, I even restarted my PC, just to be sure.

_________________
Image
THIRD SEAL MEANS FAMINE


Top
 Profile  
PostPosted: Sun Jun 03, 2007 3:36 pm  Post subject:
Reply with quote
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
can you humour me about taking a picture of your config in emule where you also opened that port? :)

Might want to check you turned off your windows firewall too.

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Sun Jun 03, 2007 3:51 pm  Post subject:
Reply with quote
User avatar
Offline

The Ancient One
Joined: Mon Jan 22, 2007 9:13 pm
Posts: 7862
Here's the picture, I just filled in the numbers at the TCP and the UDP slots:

Image

About Windows firewall: I didn't turn it off, but I made an exception for eMule. When I lived in my old house I had that same situation and it worked there.

_________________
Image
THIRD SEAL MEANS FAMINE


Top
 Profile  
PostPosted: Sun Jun 03, 2007 4:01 pm  Post subject:
Reply with quote
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
turn off your windows firewall, its a piece of shit and does nothing of value.

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Sun Jun 03, 2007 5:04 pm  Post subject:
Reply with quote
User avatar
Offline

The Ancient One
Joined: Mon Jan 22, 2007 9:13 pm
Posts: 7862
OK, it's off. The low ID is still there.

_________________
Image
THIRD SEAL MEANS FAMINE


Top
 Profile  
PostPosted: Sun Jun 03, 2007 5:13 pm  Post subject:
Reply with quote
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
Unfortunately the only explaination is you have failed to do one of the steps properly or that your isp is blocking ports.

So you've
1) you've not rebooted emule
2) you've not opened the ports and shut down all firewalls
3) you've not opened or have forwarded to the ports to the wrong pc.

If you are confident you have done all of these, then you should google your isp to see if they are port throttling or restricting. If they are not, there's a problem with your installation or configuration of the ports.


The fact that you have a highid when you open default ports, but not when you switch ports is likely a firewall (or your pc or on your router) or virus scanner blocking ports.

When you hit the test port button, what does it say btw?

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Sun Jun 03, 2007 7:20 pm  Post subject:
Reply with quote
User avatar
Offline

The Ancient One
Joined: Mon Jan 22, 2007 9:13 pm
Posts: 7862
When I hit the Test Port button, it always says "Test Failed! UDP test will not be performed". Even when I did get the high ID.

I have
1) rebooted eMule
2) opened the ports on my modem, like you can see on the screenshot above. I think I can't shut down the firewall that's in the modem itself, because I can't find any clues on my modem management how to do that. Apart from NAT setup I can do something with Virtual Servers and DMZ Host, that's it.
3) there's only 1 PC on my LAN, so forwarding it to the wrong PC is impossible, imo.

I only had a high ID when I opened a range of ports, not when I just opened one, even when it was the default port. The problem I got then, was terrible lag of up to 4000 ms. After having posted this I will google my isp for clues, and/or I'll try to lower max connections with a range of ports.

_________________
Image
THIRD SEAL MEANS FAMINE


Top
 Profile  
PostPosted: Sun Jun 03, 2007 7:38 pm  Post subject:
Reply with quote
User avatar
Offline

The Ancient One
Joined: Mon Jan 22, 2007 9:13 pm
Posts: 7862
OK, got it! Solved the problem: with Virtual Servers I added emule with the same ports as I had done in NAT. After rebooting eMule the Test Ports result was succesful and my ID is high now.

I also added emule in my firewall settings, but since I turned the XP firewall off, I don't think that made any difference.

Thanks for all comments, Vae, John and Spud! :beerchug:

One remaining question:

Virtual Server is static, while Port Triggering is dynamic. Actually they do the same, but Port Triggering alone was not enough to get me my high ID. Is eMule not able to ask my modem succesfully to open those ports when needed? Or is my modem set up so secure that it doesn't allow eMule to ask?

_________________
Image
THIRD SEAL MEANS FAMINE


Top
 Profile  
PostPosted: Sun Jun 03, 2007 7:42 pm  Post subject:
Reply with quote
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
just for a bit of closer, the test should never fail. If it does, there's a misforwarding or block in place at some point :)

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Sun Jun 03, 2007 8:00 pm  Post subject:
Reply with quote
User avatar
Offline

The Ancient One
Joined: Mon Jan 22, 2007 9:13 pm
Posts: 7862
Well, when I lived in my "old" house, with 10 people on a network, I could get a high ID while my port-test failed everytime. I can't explain that.

And the other question is still a mystery to me as well:
Virtual Server is static, while Port Triggering is dynamic. Actually they do the same, but Port Triggering alone was not enough to get me my high ID. Is eMule not able to ask my modem succesfully to open those ports when needed? Or is my modem set up so secure that it doesn't allow eMule to ask?

_________________
Image
THIRD SEAL MEANS FAMINE


Last edited by Slayer on Sun Jun 03, 2007 8:24 pm, edited 1 time in total.

Top
 Profile  
PostPosted: Sun Jun 03, 2007 8:18 pm  Post subject:
Reply with quote
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
I have no idea what you mean by a "virtual server" to be honest. I recall an awfully shitty router i once saw called port forwarding a virtual server, which imo is the wrong description.

A virtual server in the real sense is one OS running inside another, or in the case of an apache server a domain that is treated with a different set of config. ie a fully fledged server response that doesn't physically exist.

I'm not sure what your referring to, sounds awfully like port forwarding though.

I would suggest consulting your router manual about its configuration, usually the difference between nat and port forwarding is things like specifying the right pc to forward to and whether the port is always open or triggered. Port forwarding just redirects all traffic to the right place, its possible you've entered the wrong ip for your emule server, or your router is sending it to the wrong place. that would explain why you have a low id, since outbound traffic is fine, but incoming packets are lost.

I use port forwarding to open single ports with no problems, and use nat to open ranges when needed, if that helps.

Maybe your router needs updating if you've got it configured up right.

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Sun Jun 03, 2007 8:27 pm  Post subject:
Reply with quote
User avatar
Offline

The Ancient One
Joined: Mon Jan 22, 2007 9:13 pm
Posts: 7862
Yeah, it seems Virtual Server and port forwarding are the same in this case:

NAT -- Virtual Servers Setup wrote:
Virtual Server allows you to direct incoming traffic from WAN side (identified by Protocol and External port) to the Internal server with private IP address on the LAN side.


Right now I have used both Virtual Server Setup and Port Triggering to get my high ID without tremendous lag.

_________________
Image
THIRD SEAL MEANS FAMINE


Top
 Profile  
PostPosted: Mon Jun 04, 2007 6:08 am  Post subject:
Reply with quote
User avatar
Offline

Mod of the Living Dead
Joined: Thu Jul 24, 2003 12:16 pm
Posts: 6898
Location: Desolation
Slayer wrote:
OK, my setup looks like this now:

Image

I have those ports open now and I changed them in options on eMule.
But I still have a low ID.


That's wrong, the trigger should be the same as the port, both the protocol and the range should be the same across both. You then need to add a second port forward for the other port.

_________________
Small Time Rippers : 2003 - 2008 R.I.P :(


Top
 Profile  
Display posts from previous:  Sort by  

All times are UTC [ DST ]

Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 7 guests


Moderator: Help Mods

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Frontpage / Forums / Scifi


What's blood for, if not for shedding?