Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   NapShare (Cross-platform) (https://www.gnutellaforums.com/napshare-cross-platform/)
-   -   What ports do I need to open in my firewall? (https://www.gnutellaforums.com/napshare-cross-platform/4203-what-ports-do-i-need-open-my-firewall.html)

Unregistered October 3rd, 2001 03:42 PM

What ports do I need to open in my firewall?
 
I'm running the Bastille-Linux firewall with all ports closed for incoming traffic. I've tried opening port 6346 (the one that is configured as "listen port"), but it still doesn't seem to work (the files get to "push sent" and stay there). Without the firewall I can download files. Do I need to open any other ports?

Unregistered October 13th, 2001 12:31 AM

Unfortunately, as far as I can tell, napshare doesn't play nicely with firewalls at all; it doesn't allow you to specify the local port range it uses for incoming connections. Therefore, when napshare binds a local socket to listen for the incoming file transfer, the OS picks a local port out of the ephemeral port range.

Which means, essentially, if you want napshare to work behind a firewall, you need to open the entire ephemeral port range. You can tell what the range is by viewing the contents of this /proc file:

/proc/sys/net/ipv4/ip_local_port_range

IMO, napshare desperately needs to provide a way for the user to select the local port range used for incoming connections.


All times are GMT -7. The time now is 01:42 AM.

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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.