ipfilter allowing samba

Bill Sawyer bSawyer at sftp.com
Sat Jun 12 19:57:30 PDT 2004


Hey Dave,

You need to allow exceptions in ipfilter for ports 137 to 139.  The following rules should work:

pass in quick on ed0 proto tcp from 192.168.0.0/16 to 192.168.0.1/32  port = 137 keep state
pass in quick on ed0 proto tcp from 192.168.0.0/16 to 192.168.0.1/32  port = 138 keep state
pass in quick on ed0 proto tcp from 192.168.0.0/16 to 192.168.0.1/32  port = 139 keep state

Where 192.168.0.0 is your network and 192.168.0.1 is your server IP.

Cheers,

Bill Sawyer
Information Systems
Six Flags St. Louis
(636) 938-5300 x. 231



More information about the freebsd-questions mailing list