From owner-freebsd-questions Sun Feb 16 14:31:58 2003 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 AF3E837B401 for ; Sun, 16 Feb 2003 14:31:57 -0800 (PST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC92643F3F for ; Sun, 16 Feb 2003 14:31:54 -0800 (PST) (envelope-from root@pukruppa.de) Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 18kXKE-0004CP-00; Sun, 16 Feb 2003 23:31:54 +0100 Received: from [217.80.199.229] (helo=pukruppa.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 18kXKE-0007Fp-00; Sun, 16 Feb 2003 23:31:54 +0100 Message-ID: <3E501158.5000609@pukruppa.de> Date: Sun, 16 Feb 2003 23:31:52 +0100 From: Peter Ulrich Kruppa User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org, pbrezny@purplecat.net Subject: squid proxy Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry for answering this way, but I have lost the original thread somewhere. I guess your gateway uses - like mine - two nics (mine are rl0 to the outside and rl1 to the inside). It seems these two ipfw statements solve the problem: # ipfw add 100 allow ip from any to any via rl0 This allows everything out via rl0 and # ipfw add 200 fwd 127.0.0.1 tcp from any to any 80 recv rl1 this captures everything received from rl1 and sends it to squids port 80 . Hope this helps, Uli. -- +-----------------------------------+ | Peter Ulrich Kruppa | | - Wuppertal - | | Germany | +-----------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message