From owner-freebsd-isp@FreeBSD.ORG Tue Sep 11 11:51:47 2007 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD38D16A418 for ; Tue, 11 Sep 2007 11:51:47 +0000 (UTC) (envelope-from mamun@freebsdmovement.org) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.188]) by mx1.freebsd.org (Postfix) with ESMTP id C0C5F13C4A5 for ; Tue, 11 Sep 2007 11:51:47 +0000 (UTC) (envelope-from mamun@freebsdmovement.org) Received: by rv-out-0910.google.com with SMTP id l15so1215394rvb for ; Tue, 11 Sep 2007 04:51:47 -0700 (PDT) Received: by 10.141.35.21 with SMTP id n21mr2291706rvj.1189509808079; Tue, 11 Sep 2007 04:23:28 -0700 (PDT) Received: by 10.141.88.8 with HTTP; Tue, 11 Sep 2007 04:23:28 -0700 (PDT) Message-ID: <4857c35e0709110423w77c5217fs81a1f014d0a48adf@mail.gmail.com> Date: Tue, 11 Sep 2007 17:23:28 +0600 From: "Anwarul Mamun" To: freebsd-isp@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Squid proxy 2.6 with FreeBSD 6.2 X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2007 11:51:47 -0000 Hi All! I have a linux gateway server (using iptables on this) where my client hit first. I want to direct the http traffic to the proxy server based on FreeBSD ( i mean transparent proxy). I am using FreeBSD 6.2 and Squid proxy 2.6. I have directed the http traffic from my linux gateway server to the proxy server on FreeBSD as below. But the transparent proxying does not work. Is there anyone worked with the issues on transparent proxy with FreeBSD 6.2. who may suggest in this case? /sbin/iptables -t nat -A PREROUTING -s 192.168.40.0/24 -p tcp --dport 80 -j DNAT --to 172.16.3.1:8080 /sbin/iptables -t nat -A PREROUTING -s 192.168.40.0/24 -p tcp --dport 8080 -j DNAT --to 172.16.3.1:8080 Regards, M