Thread: Firewall woes
View Single Post
  #15 (permalink)  
Old March 6th, 2001
Maxim Maxim is offline
Disciple
 
Join Date: March 6th, 2001
Posts: 14
Maxim is flying high
Post

Tip for folks using a linux firewall:

If you're masqing your ip using ipchains, you'll need to make sure that you also forward your specific gnutella connection port through your firewall. Obviously, if your firewall is on your gateway, and you're trying to connect from a pc behind your gateway/firewall, simply accepting your connection won't work. You need to tell your gateway that traffic to/from your gnutella listen port (e.g. 6346) should be handled directly by the pc running your gnutella software.

And example of a line from my port forwarding script might help:

/usr/sbin/ipmasqadm portfw -a -P tcp -L $extip 6346 -R $pc_local_ip 6346

where $extip is your external ip addy and $pc_local_ip is the interal ip addy for your pc (usually 192.168.111.xxx)

Hope that helps a few people. For more info,see http://www.ssc.com/mirrors/LDP/HOWTO...ade-HOWTO.html
Reply With Quote