From owner-freebsd-questions@FreeBSD.ORG Wed Apr 26 19:33:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4563F16A403 for ; Wed, 26 Apr 2006 19:33:39 +0000 (UTC) (envelope-from applecom@inbox.ru) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9BB643D4C for ; Wed, 26 Apr 2006 19:33:38 +0000 (GMT) (envelope-from applecom@inbox.ru) Received: from [85.115.165.63] (port=61738 helo=[85.115.165.63]) by mx1.mail.ru with asmtp id 1FYplX-0008kH-00; Wed, 26 Apr 2006 23:33:37 +0400 Message-ID: <444FCB0D.3040804@inbox.ru> Date: Thu, 27 Apr 2006 01:33:33 +0600 From: applecom@inbox.ru User-Agent: Thunderbird 1.5.0.2 (X11/20060424) MIME-Version: 1.0 To: sonjaya References: <20060426133032.66858.qmail@web52109.mail.yahoo.com> In-Reply-To: <20060426133032.66858.qmail@web52109.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: error squid when using pf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 19:33:39 -0000 > i try use pf for transparant proxy ( i get from here > http://www.benzedrine.cx/transquid.html ) > when i configure manual to use proxy is working fine . > then i try to use pf for redirection connection to > proxy : > int_if="vr0" > ext_if="xl0" > > rdr on $int_if inet proto tcp from any to any port www > -> 127.0.0.1 port 3128 > > pass in on $int_if inet proto tcp from any to > 127.0.0.1 port 3128 keep state > pass out on $ext_if inet proto tcp from any to any > port www keep stat > > i always get error = Unable to determine IP address > from host name for www.domain.com such like error dns > but my dns resolver working fine . > what should i chek squid or my pf script Maybe "-D" flag for squid will help ("Disable initial DNS tests") ?