IPF Firewall Rules... help!

dick hoogendijk dick at nagual.st
Sat Apr 9 13:45:42 PDT 2005


On Sat, 9 Apr 2005 11:43:23 -0400
bob at a1poweruser.com wrote:

> Dick
> Since you say you have limewire working on your LAN behind firewall
> why don't you post your rules so we can see how you did it.

# Limewire
pass out quick on rl0 proto tcp from any to any port = 6346 flags S keep
state
pass out quick on rl0 proto udp from any to any port = 6346 keep state

That's really all there is to it. No funny things. Just installed
limewire on all machines using the defaults.

My ipnat.rules is also quit simple:

#
### ipnat.rules
#

# FTP traffic for the internal LAN
map rl0 192.168.11.0/24 -> 0/32 proxy port 21 ftp/tcp

# FTP traffic from the gateway
map rl0 0.0.0.0/0 -> 0/32 proxy port 21 ftp/tcp

# non-FTP traffic for the internal LAN
map rl0 192.168.11.0/24 -> 0/32 portmap tcp/udp auto
map rl0 192.168.11.0/24 -> 0/32

That's all. And as said: limewire works like a charm.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja


More information about the freebsd-questions mailing list