[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-pf
Subject:    Re: problem with dns on all and squid on some.
From:       "Edwin L. Culp" <eculp () encontacto ! net>
Date:       2005-05-26 21:44:14
Message-ID: 20050526164414.l1s0t1u4fksoc48c () mail ! encontacto ! net
[Download RAW message or body]

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

> On 2005.05.26 14:17:32 -0700, Jon Simola wrote:
>> On 5/26/05, Edwin L. Culp <eculp@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic