problem with dns on all and squid on some.

Edwin L. Culp eculp at encontacto.net
Thu May 26 14:44:18 PDT 2005


Quoting "Simon L. Nielsen" <simon at FreeBSD.org>:

> On 2005.05.26 14:17:32 -0700, Jon Simola wrote:
>> On 5/26/05, Edwin L. Culp <eculp at encontacto.net> wrote:
>>
>> > this configuration there is no dns resolution.  The first problem.
>>
>> > tcp_services = "{ 22, 25, 53, 80, 110, 113, 123, 143, 389 }"
>>
>> > block all
>> > pass in on $ext_if inet proto tcp from any to ($ext_if) port
>> > $tcp_services flags S/SA keep state
>>
>> DNS is UDP port 53, which you've blocked.
>
> Well, more accurately... it's TCP and UDP, both port 53, though it
> uses UDP most of the time.

Thanks, Simon.  I thought it would use TCP but I guess not because 
adding udp to port 53 seems to have fixed it.

Thanks again to you both,

ed



More information about the freebsd-pf mailing list