Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2008 16:40:56 +0800
From:      Fbsd1 <fbsd1@a1poweruser.com>
To:        eculp@casasponti.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pf or ipf rules to allow p2p Limewire through
Message-ID:  <49325198.2060008@a1poweruser.com>
In-Reply-To: <20081128051410.17qwm4xctjy8w4sck@intranet.casasponti.net>
References:  <492E60A8.6080105@a1poweruser.com>	<492F82D1.4020000@bah.homeip.net> <492F8E9B.5040805@a1poweruser.com>	<492F95EB.8080308@bah.homeip.net> <492F9B68.8080407@a1poweruser.com>	<ggo9th$f0j$1@ger.gmane.org> <20081128051410.17qwm4xctjy8w4sck@intranet.casasponti.net>

next in thread | previous in thread | raw e-mail | index | archive | help
 >> eculp@casasponti.net wrote:
>>
>> So on the Limewire "Advanced -> Firewall" config page enter a port
>> number, such as 6346 in both the "Listen on Port" and the "Manual Port
>> Forward" boxes.
>>
>> Then after your NAT rule in pf.conf enter something like the following:
>>
>> rdr on $ExtIF proto tcp from any to any port 6346 -> 192.168.10.2 port 
>> 6346
>>
>> and a corresponding filter pass rule:
>>
>> in both the "Listen on Port" and the "Manual Port
>> Forward" boxes.
>>
>> 192.168.10.2 is my desktop machine where I use Limewire. It works just 
>> fine.
>>
>>

Thank you for the solution to this problem.

I was un-aware Limewire had it's own firewall configuration options.
In Limewire version 4.18 Tools/Options/Advanced/Firewall I entered the 
same port number 6666 in both the "Listen on Port" and the "Manual Port 
Forward" option fill in boxes.  Then in IPF rules added these 2 lines.

pass out quick on $oif proto igmp from any to any keep state
pass out quick on $oif proto tcp  from any to any port = 6666 flags S 
keep state

Each XP box on the lan running Limewire gets it's own unique port number 
and the corresponding firewall rule. No need for NAT RDR rules.
Limewire works fine and my firewall is tight as every.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49325198.2060008>