Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2006 20:55:48 +0200
From:      Andrei Kolu <antik@bsd.ee>
To:        Undisclosed.Recipients: ;
Cc:        freebsd-pf@freebsd.org
Subject:   Re: problems connecting samba shares
Message-ID:  <200611162055.48636.antik@bsd.ee>
In-Reply-To: <00b201c709ad$b1b96d20$c806a8c0@lfarr>
References:  <00b201c709ad$b1b96d20$c806a8c0@lfarr>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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