Gnutella Forums

Gnutella Forums (
-   Tips & Tricks (
-   -   Firewall & Port Setting - Some Useful Links (

ursula April 18th, 2004 04:07 AM

Firewall & Port Setting - Some Useful Links
Here is a link for further information and explanations about Firewall and Port configuration and selection...

> User Cant Connect - LimeWire

for the LimeWire Firewalls Support page.
Read all of it and be certain to scroll down to the very bottom...

And, do examine the information in the thread available by clicking on >
Alternate PORTS
in my 'sig' below

Check if you are able to use Port 6346 by clicking on >
Port :6346 - Test If It Is 'Blocked'
also in my 'sig'.

et voilą April 18th, 2004 06:33 AM

Note: if you have a router you should update to LW 4.4 and up. With UPnP (universal plug and play), LW now does the port forwarding automatically for you when your router supports UPnP. --look into your manual or search google to see if your router is UPnP compliant--.

You have a router that doesn't support UPnP or you want to do port forwarding manually? This site has all of them and explains how to forward a port (In case of gnutella, it is 6346)
To get a static address (for stable port forwarding that you won't have to change in your config once in a while):

If your port 6346 is blocked, or you want variety, nothing stops you from using another port: once unfirewalled you will still get the same results as if you forced the port 6346.

If you are using LW, go to options > advanced > firewall (set to port 6346 if not already) and check the option to manually configure the port below the same preference window --select the same port as above, default is 6346--).

If you want to see if you are still firewalled in LW, then go to options > error reports > click on 'see an example':
If the following line says, "Received incoming this session: true", congrats!
You are now fully open to gnutella...
If it says no, something went wrong... Check again all the steps to get unfirewalled to the port 6346.

Bonne chance ą tous!

Edit was only to help with a few clarifications.
I didn't change anything, Doc ! Honest !

Lord of the Rings November 9th, 2004 06:28 PM

1 Attachment(s)
For those of you who are forwarding a port, you will also need to forward a port within LW. You will need to use the same port no. in both the router device, any Firewall you use, LW's port setting & LW's Firewall setting. For Windows: Tools>Options>Advanced>Firewall
OSX: LW's Prefs>Advanced>Firewall
OS9: Tools>Options>Advanced>Firewall

But don't forget the setting in LW>... >Advanced>Port must also be the same port no. as the LW firewall setting. I have provided this sample image to make it easier for people to know what to do within LW. (sample below is for the "old" version of LW, for the version used "now" see sample 2 posts below this one!)

smitty_the_smith December 23rd, 2004 02:19 AM

Hubs do not exsit (sortof)
When port forwarding it's important to know hubs don't change anything. Sometimes hubs are no more than splced wires (crappy hubs). But port forwarding is not nessisary behind just a hub. So with your prob of switch > hub > comp think of it as switch > comp.

I hope this was helpful.

Lord of the Rings February 13th, 2005 10:00 PM

3 Attachment(s)
LimeWire 5 location:
For Windows: Tools > Options > Advanced > Listening Port. ___ Mac OSX: ( + ,) LW's Prefs > Advanced > Listening Port.

Attachment 5186 (Click to see larger image view)

If your router does not support Universal Plug 'n Play (UPnP), then you can manually port forward. You'll also need to forward the same port on your modem/router. Find your model on this list - Free Help Setting up Your Router or Firewall. Listening Port & Manual Port Forward numbers should be the same!!!

Old LimeWire 5 location:
For Windows: Tools > Options > Advanced > SuperReallyAdvanced > Firewall

___ Mac OSX: ( + ,) LW's Prefs > Advanced > SuperReallyAdvanced > Firewall

Attachment 4673 (Click to see larger view)

LimeWire 4

Here's the LW 4 settings for Port Forwarding. If your router does not support Universal Plug 'n Play (UPnP), then you can manually port forward. You'll also need to forward a port on your modem/router. Find your model on this list - Free Help Setting up Your Router or Firewall (NOTE!: This is now refered to as Manual Port Forward & NOT Force IP. A more appropriate name for the function!) Listening Port & Manual Port Forward numbers should be the same!!! See image below. (Windows equivalent image click here)
For Windows: Tools>Options>Advanced>Firewall
___ Mac OSX: ( + ,) LW's Prefs>Advanced>Firewall ___ (Mac OS 9 = windows location)


deafguy February 20th, 2005 03:10 PM

I use DWL-520 D-Link. Now in that website for D-Link, I just need to add 6346 for both start port and end port? What about IP? This is what it look like when entering Port Forward.

Local IP Adr /Start Port/ End Port/ Protocol/ Enabled

Okay tell me what to add in there for Local IP, Start Port and end Port. Then I just add 6346 in Limewire and force IP, that it?

Lord of the Rings February 20th, 2005 03:45 PM

Don't confuse the two ip's. For port forwarding the ip should be the private ip of your computer. The ports to & from would be both 6346. For Force ip above it would also be port 6346.

Go into the command prompt (windoze) and type "ipconfig" without the quotes of course. That's your private ip.

deafguy February 20th, 2005 05:40 PM


Originally posted by Lord of the Rings
Don't confuse the two ip's. For port forwarding the ip should be the private ip of your computer. The ports to & from would be both 6346. For Force ip above it would also be port 6346.

Go into the command prompt (windoze) and type "ipconfig" without the quotes of course. That's your private ip.

So in the D-Link website, I just add my priviate IP and add 6346 for both Start Port and End Port? Then click Force IP and add 6346 in Limewire? That's all I have to do?

Lord of the Rings February 20th, 2005 06:53 PM

That web page is how you can control your D-Link device. So yes I think you've got it now. Good luck! You did set up a static ip first didn't you as described at You must have a static ip for this to work otherwise it won't work permanently b/c next time you log on you'd have a different ip (dynamic ip.) Good luck! ;)

deafguy February 20th, 2005 07:29 PM

I use DWL-520 and this device is not shown in that link you gave to me. So how do I know if I have already set up static ip?

Lord of the Rings February 20th, 2005 07:51 PM

The instructions for setting up a static ip are basically the same for all models. There's a link to how to do it.

Also it should explain in your manual how to do it. I also have a D-Link & my manual does give some explanations. Yours I suspect is this one: else type in your model.

Port does not list all models. So if your model is not there it's difficult to know whether port forwarding is possible or not with it. But download the manual & have a look. Then you'll find out whether it's possible or not.

Normally the steps are:
1. Set up a Static IP
2. Forward a Port
3. Force IP using 6346 within LW.

deafguy February 20th, 2005 10:42 PM

Okay I checked. I had already set up the static IP. So now when I set up the port in D-Link website, which protocol should I enabled, TCP or UDP or both?

fabion February 20th, 2005 10:43 PM


deafguy February 20th, 2005 11:07 PM

Okay so this is what I do

1. Go to command prompt and type in ipconfig - Private IP
2. Go to D-Link website where I set up the forwarding
3. Add Private IP in Local IP
4. In both Start Port and End Port, it will be 6346
5. Protocol will be both
6.CLick enabled and apply
7. Go to Limewire and then Firewall
8. Click on Force IP and Port will be 6346 and apply it

Is that all I have to do? Now I should see huge increase in downloading speed right? Remember I have ultra fast connection, 5 Mbps= 500 KB per sec and more than 300 upload. When I download from any sever except for peer to peer network, I could download at full speed. But before this I could only download less than 20 KB per sec most of the time IN Limwire. So if I am downloading from cable user and it is good connection, I should go over 100 KB downloading speed most of the time right?

Waiting for your respond Lord Of The Ring

Lord of the Rings February 21st, 2005 03:16 PM

That all sounds right yes. But check your D-Link manual. With my D-Link 504G I had to reboot the modem after completing the port forwarding.

These are instructions for the D-Link 504G on a Mac. But this is a different model!!! ;)

deafguy February 21st, 2005 05:22 PM

Does this IP Static also apply when it comes to hosting the game? Because when I was able to host the game for a month now without having to change anything. Does this mean I am using Static IP? Is setting up Port Forwarding for the game same as Limewire?

Lord of the Rings February 21st, 2005 05:26 PM

Advanced games you play over the internet will also need to have ports opened depending on the needs of the particular game. You will need to read the game's instructions (manual) about whether & what ports need to be opened for that reason. Same principle applies. It's exactly the same but will use different port numbers. I've never done port forwarding for 2 purposes, but I'd suggest they'd be best as separate listings as port forwarding (ie: do a separate port forwarding.)

deafguy February 21st, 2005 05:49 PM

That's werid, because the only way I can set up the IP and port is having to go through "Port Forwarding". This is what I have to enter when entering Port Forwarding

Local IP Adr/ Start Port/ End Port/ Protocol Enabled

I do not see any virtual sever so this may be my only opition. But maybe I am suppose to use this one Port Triggering but you do not enter IP Adress, maybe it is already applyed. Let me show you what it look like.

Trigger Range /Target Range Protocol Enable

Start Port /End Port /Start Port/ End Port

So I think I am supposed to use Port Forwarding, maybe not?

deafguy February 22nd, 2005 12:04 AM

Just want to let you know that I have sucess with this. Now I can reach over 175 :eek: . Now I can download the way I am meant to download. Thanks for your help.

ursula March 2nd, 2005 10:26 AM

Really good that this thread is helping people...

If it wasn't, there would be many, many posts from VERY unhappy people blasting smitty_the_smith, fabion, LotR (who deserves at least a daily blasting, anyway), et et voilą... (Who we all know requires at a minimum an hourly blasting !)


luego :)

Sir Psycho Sexy April 28th, 2005 11:43 AM

I did all the instructions and it didn't work, do I try different proxies?

Xtrail May 22nd, 2005 01:54 AM

What if your ISP block port 6346. What port number is recomended as alternative. I am using port 80 as recom by LOTR. It works but wont this influence something else ? Ursula (forum member) recom using port numbers from 49152 to 65535 (Dynamic Ports). Bottomline should I or not force IP with 6346??

Lord of the Rings May 22nd, 2005 03:00 AM

Try 6346 & if it doesn't work then try other port no.'s. Use port 80 as a last resort only. Some people have had success using different ports such as 3500 or 20282 for example. (With the tests below you must have LW running at the same time!!!)

You can try testing the port no.'s with these tests:

qbertprime July 27th, 2005 06:06 PM

Limewire Listen on Port and Manual Port Forward

Originally posted by Lord of the Rings
Here's the new settings for Port Forwarding & forcing ip. If your router does not support Universal Plug 'n Play (UPnP), then you can manually set the force ip. (NOTE!: This Force IP is now refered to as Manual Port Forward & NOT Force IP so it's a much more appropriate name for the function!) (Windows equivalent image click here) See image below.
Hi Lord of the Rings!

I've just been getting confused about the two settings on the image you posted. Are the 'Listen on Port' and 'Manual Port Forward' always going to be the same? Why would they ever be different?

Also, Limewire up to this point has been working fine with uPnP, but I just discovered I never enabled it in the firmware of my Linksys BEFSX41 router! How can that be?

Finally, should I go ahead and enable uPnP in the router's firmware, and check it in Limewire, (and if so should I leave the 'Listen on Port' at my 5xxxx choice and keep it forwarded in the router's firmware?) And finally (I mean it this time), does Limewire need both TCP and UDP or just one (which one)?

Thanks so much for your time and I hope I'm not beating a dead horse here...


Inflynx August 1st, 2005 02:05 PM


I've got kinda strange question.

I have a Netgear dg834g roter, with hardware firewall.
The trick is that I need to block connection for any gnutella-operating software.

If blocking port 6346 it doesnt stop LW from connecting. What can i do?

ursula August 2nd, 2005 10:28 AM

LotR is the current chief resident dungeon dweller in charge of answering your question...

Harass him until he does so !!!


ursula August 2nd, 2005 10:34 AM


Originally posted by Inflynx

I've got kinda strange question.

The trick is that I need to block connection for any gnutella-operating software.

If blocking port 6346 it doesnt stop LW from connecting. What can i do?

Well, now...

One must assume from your comments above that you are in an administrative role... OR, gosh and golly, maybe even a real parent !!! ???

If you need to BLOCK access to so-called Gnutella clients, it is very easy... Far easier than for the millions of university students out there who WANT to enable Gnutella Network connects !

What exactly is it that you wish to do ?
The 'why' is not so important, but may help others in providing you with a one-time intelligent reply.

Lord of the Rings August 2nd, 2005 10:49 AM

qbertprime yes UPnP is much prefered. So set your Linksys for UPnP & do the same for LW. AFAIK The newer model Linksys have reliable UPnP. But there are times LW or the device doesn't handle UPnP by losing connection. Most Linksys devices 'should' be very safe for the UPnP setting. With UPnP set, port forwarding is not necessary! UPnP does the same job by opening the appropriate port at the request of the program.

TCP & UDP both should be enabled for access. It's your choice of which port to set up to use.

I'll await Inflynx's responses to Ursula's questions before I answer. Knowing the environment of use will help.

Inflynx August 2nd, 2005 04:16 PM

Thanks for replies ;)


Originally posted by ursula
One must assume from your comments above that you are in an administrative role... OR, gosh and golly, maybe even a real parent !!! ???
God no, im not a parent :) At least not yet :)

Im actually having a small home network which i share with several other roommates. The only difference is that i have got all the passwords and the understanding of how that all works.

Thoses guys are using Limewire. I have to admit that LW is a vary good software so while it is been used all the internet goes terriblly slow. Not very good for me since i never use gnutella.

The case though is that im not farmilia how to configure Netgear DG834G router to block 6346 port. I mean i did configure built-in firewall for blocking in- & out- connections for any local IP addresses, but it doesnt stop LW from getting connected and working.

Lord of the Rings August 3rd, 2005 12:04 AM

It sounds to me negotiation about times of use would be the best answer so everybody is happy. Otherwise there's going to be some very cheesed off roommates.

Blocking the port via your Netgear might not necessarily totally block their use of LW however. There's filters that can be used on networks but these are commercial programs.

Inflynx August 3rd, 2005 12:35 AM


Originally posted by Lord of the Rings
Blocking the port via your Netgear might not necessarily totally block their use of LW however.
Blocking the port in this way usually stops the software which is using it.
Way doesnt it stop LW than?

Lord of the Rings August 3rd, 2005 12:45 AM

It depends on the particular router device. Some will totally block the incoming & outgoing from certain ports whereas some will only close off incoming. I'm not sure about netgear. There may be other ways you can set it up. I've sent a pm to another member for their thoughts.

ultracross August 3rd, 2005 02:16 AM


i have a linksys router, but you might also have the ability to do the same in the netgear router with a slight modification to the steps. but in my advanced setup, it has a filters tab, i click that and i have full control over which computers can access outside of my network, along with which computers can access which ports, and network wide port filtering.

if your users are dumb enough, they would never no how to change limewire to use another port if you block it. you may want to disable upnp also. but like as i was saying, if they happen to find out how to change the port number, then that block wont work. but you can always figure out what port they set it to via the routers DHCP clients table (if your network is using dhcp) along side using the router log to verify which computer is accessing which ports. (atleast on my router it has this)...

if you want to goto the extreme, (on my router) you can block mac addresses (nic hardware addresses) (or IP addresses if mac blocking is too difficult) from using a certain protocol on a range of ports. however, gnutella is not on the list (since its not a standard network protocol)... BUT if you block the UDP protocol on all ports (1 to 65535), then LimeWire wont be able to do any FW2FW transfers at all. (this means no uploads or downloads.) and remember to disable the upnp service on the router so their machines cant open ports because this will circumvent the whole process.

but it still will beable to connect to the network using tcp (which is RECOMMENED THAT YOU SHOULD NOT BLOCK TCP since that is the basic communication protocol of the internet, and you would block your users from accessing even webpages).

-this is not a guide, but it is reference as to what you may want to do-


Inflynx August 3rd, 2005 03:42 AM

Lord of the Rings, ultracross
Many thanks, guys. I will be trying this :)

et voilą August 3rd, 2005 04:33 AM

What you need to do is to limit the dl/up speed of LWs on each machine so they don't slow down the network [total bandwidth (up then down) available minus 25% / number of people using LW]. Go in Options -> downloads to limit dl speed, go in Options -> transfers -> basic to limit upload speed.

There is no way you'll be able to block totally LW from your netgear without serioulsy impairing basic internet traffic on your network. You would need a software solution acting as a router/gateway ie a linux/openbsd box.


blacksatinsrv August 13th, 2005 02:31 PM

Can anyone help?
Hi Everyone,:)

First of all I'd like to say "Hi" , as I've just regisitered.

I was wondering if anyone can help me. I've just installed the new version,have done everything that was mentioned to set up the firewall and still I can't connect. I know the port isn't blocked.

My Older version 4.8.1 stopped working sometime in late May for some strange reason. I cleared out everything to do with the older version and installed the new version.

Sob and still I can't connect. :confused: :rolleyes:

My ISP is does anyone know whether they have started to block Limewire as there is nothing on their website about it.

Hope someone can help,


DavidFilmer September 8th, 2005 12:01 AM

How I SOLVED the ULTIMATE Firewall Hell
FYI, I posted a message in a new thread about how I successfully drilled port 6346 through a pretty hairy firewall configuration (three levels of firewalls, including a tightly configured Linux ipfilter-based IP Masquerading firewall).



missmindy6 June 25th, 2006 09:46 PM

Port Forwarding Probs
HELLLLLLLLLLLP!! I know how to port-forward, I do it all the time. So I set the port # to forward in Limewire and on my DSL router. But it still claims I'm behind a firewall! Grrrr! I do NOT have a firewall - what else would the problem be? BTW - I clicked on the test page you had in another post for testing if I can get to port 6346 - and it fails every time.

PS. I even set my router to open ALL PORTS and it still failed to connect and failed to let me to the 6346 test page.

birdy June 25th, 2006 10:14 PM

What are your details

OS(Win XP etc)
LW & Java version (help > about LW & you'll see)
Firewall you're using
Modem/router brand & model
Connection type (DSL etc)
Where you connect from (home, school etc)
Are you sharing a connection with other computers
Is this your first try with LW

Have you made sure to configure your software firewall (if you use one) to allow LW access? A lot of connection issues are discussed here
Connection problems? Check here first!

Have you used p2p before? Something is blocking the default port... maybe your ISP?

missmindy6 June 26th, 2006 09:33 AM

My Details
Ok here's the details.
- I use Windows 2000 pro
- LW version 4.12.3 - the Basic, not Pro
- I used to use Limewire last year and it worked fine for me
- I do NOT have a firewall - I'm positive
- My DSL modem is a Zyxel 645 and I know how to do port forwarding
- I connect from home - no router or anything. Just my 1 pc.

I hope u can help!

birdy June 26th, 2006 07:08 PM

Have you tried using any other p2p apps & if so, do they give you the same problem?

Who is your ISP?

You could try changing to a higher port (eg something in the range 49152-65535). A higher port may not be blocked but LW is probably still going to pick up the NAT firewall within your modem. Does the modem support UPnP? If so, have you tried enabling UPnP & choosing that option within LW's options > advanced > firewall config?

Sorry, I can't help much more here. Someone else might have a better idea?

weird July 1st, 2006 09:15 AM

What about mine
I do not have a good connection. No results are comind out.What might gonna be my problem?

missmindy6 July 1st, 2006 10:36 AM

Found the problem
I called my ISP and they block gnutella packets because it was slowing down their DSL servers!! GRRRRRRRRRR At least I know what the problem is now.

weird July 2nd, 2006 08:04 AM

Pardon? What ISP? And how will I fix it?

Lord of the Rings July 2nd, 2006 08:42 PM


Originally Posted by weird
Pardon? What ISP? And how will I fix it?

Who is your isp? If LW suddenly stopped working 2 weeks ago & Bearshare also refuses to connect, it sounds suspiciously like your ISP is at fault. Options: change isp or try using a proxy. A Fix for those whose ISP's block Limewire pages 1 - 3 which have links to alternative instructions. eg: Tor
You could also try connecting thru a higher port such as between 49152 - 65535. ie: go to LW's menu bar, Tools>Options>Advanced>Firewalls & change ports there.

erika. July 15th, 2006 07:03 PM

My problem is simple: I downloaded 4.12.3, and although the old limewire was working great with avast, the installation gets as far as starting to open the program and then says "Limewire was unable to initialize and start. This is usually due to a firewall program blocking Limewire's access to the internet or loopback connections on the local machine. Please allow Limewire access to the internet and restart Limewire."

The thing is, it's not blocked, and my ports are open. I'm not sure what to do with it??

AaronWalkhouse July 15th, 2006 11:05 PM

Double check that your firewall is allowing the new version the same access as
the old one. Some firewalls automatically block changed programs in case they
were infected by a virus.

If there is no obvious way to force the firewall to recognize changed versions
delete the old rule and make a new one from scratch.

rnmari August 7th, 2006 10:02 AM

How Do I know what the section : Ports should saw so Limewire can allows use my computer. I am on a neighhood wireless network connection:rolleyes:

foolofthehill August 7th, 2006 10:13 AM

Go LW>Tools>Options>Advanced>Firewall Config.
There on the right side you'll see the Listening port number.

Marcassin August 8th, 2006 12:30 AM

I did all that was advised to get round the Windowsxp firewall, (listening port nimber etc). Sometimes (yesterday) I still have the brickwall, sometimes (today, for instance) I don't have it. I simply ignore it and my LW works just fine

All times are GMT -7. The time now is 07:54 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.