From owner-freebsd-questions Sun Mar 23 3: 3:27 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 D21D637B401 for ; Sun, 23 Mar 2003 03:03:24 -0800 (PST) Received: from manhattan.unsavoury.net (manhattan.unsavoury.net [62.250.7.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9217943FA3 for ; Sun, 23 Mar 2003 03:03:23 -0800 (PST) (envelope-from mdv@unsavoury.net) Received: from nieuwmarkt.demon.nl (nieuwmarkt.demon.nl [212.238.184.148]) by manhattan.unsavoury.net (Postfix MTA on FreeBSD) with ESMTP id 401EF1938F for ; Sun, 23 Mar 2003 12:03:22 +0100 (CET) Received: from jennie (jennie.netraam.com [192.168.1.16]) by nieuwmarkt.demon.nl (Electronisch postbodesysteem Nieuwmarkt, Amsterdam) with SMTP id 5383C11F for ; Sun, 23 Mar 2003 12:03:19 +0100 (CET) Message-ID: <000a01c2f12b$cea91370$1001a8c0@jennie> From: "Maarten de Vries" To: Subject: Transparent proxy Date: Sun, 23 Mar 2003 12:03:13 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 Hi, On my NAT-box, I'm trying to redirect all http traffic from the desktops behind to the squid cache, which is on the same machine. The ipfw rule I use that should accomplish this is: $ ipfw add 2350 fwd 192.168.1.1 3128 from any to any 80 And in squid.conf I have: http_port 192.168.1.1:3128 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on Somehow I must be overlooking something, because although http traffic works well on the clients, it isn't being picked up. The firewall- and cachelog remain empty... Ipfw and Squid work well in all other respects. Any pointers would be much appreciated! -- http://unsavoury.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message