problems connecting samba shares

Andrei Kolu antik at bsd.ee
Thu Nov 16 18:55:54 UTC 2006


On Thursday 16 November 2006 20:33, Lawrence Farr wrote:
> > /etc/pf.conf:
> > pass in on rl0 proto udp from any to (rl0) port 137 keep state
> >
> > # tcpdump -n -e -ttt -i pflog0:
> > rule 0/0(match): block in on rl0: 192.168.2.100.137 >
> > 192.168.2.101.53259: NBT UDP PACKET(137): QUERY; POSITIVE;
> > RESPONSE; UNICAST
>
> Because that came FROM port 137 not TO port 137.

Oops, I thought it wants to connenct back to my port 137- silly me. Then I 
have to open all ports that is higher than 1024?

This line is correct?

pass in proto {tcp,udp} from any to any port 1024:65535 keep state


More information about the freebsd-pf mailing list