pf or ipf rules to allow p2p Limewire through
Fbsd1
fbsd1 at a1poweruser.com
Sun Nov 30 00:40:21 PST 2008
>> eculp at 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.
More information about the freebsd-questions
mailing list