From owner-freebsd-isp Wed Dec 22 1:58:58 1999 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.unpar.ac.id (star-3.unpar.ac.id [203.109.5.3]) by hub.freebsd.org (Postfix) with ESMTP id BCD4314FD0 for ; Wed, 22 Dec 1999 01:58:49 -0800 (PST) (envelope-from thomas@home.unpar.ac.id) Received: from home.unpar.ac.id (root@home [167.205.206.60]) by mx1.unpar.ac.id (8.9.3/8.9.3) with ESMTP id QAA27975; Wed, 22 Dec 1999 16:57:32 +0700 (JAVT) Received: from siomay (celerie-01.unpar.ac.id [10.100.103.101] (may be forged)) by home.unpar.ac.id (8.9.3/8.9.3) with SMTP id RAA02821; Wed, 22 Dec 1999 17:04:21 +0700 (JAVT) (envelope-from thomas@home.unpar.ac.id) Message-ID: <013a01bf4c63$41179100$6567640a@siomay.unpar.ac.id> From: "Thomas Wahyudi" To: "aLan Tait" Cc: Subject: Re: Transproxy to Squid Box! Date: Wed, 22 Dec 1999 16:59:25 +0700 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 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----Original Message----- From: aLan Tait To: freebsd-isp@FreeBSD.ORG Date: 19 Desember 1999 22:42 Struc Subject: Transproxy to Squid Box! >Here is the layout... > >Firewall: >Outside: ed1 1.1.27.127 /28 >Inside: xl0 2.2.102.1 /23 > >Proxy/Squid: xl0 2.2.102.2 /23 > >Basically, I want to redirect anything that goes to >2.2.102.1 port 80 (for any address 0.0.0.0/0) > 2.2.102.2 >port 3128 > >Any suggestions, directions, or sample config files of >working systems would be most helpful! If there is a set-up >or FAQ about Transproxy - I haven't found it yet (actually >thinking about writing my own!) Any help at all! #here's what we using in our campus Internet Internet | | proxy A proxy B |_________| | NATD -------> internet | local Proxy A & B just an ordinary proxy server with 2 different IP (multihomed) all server using FreeBSD box NATD using squid in port 3128 that connect to 2 proxy using proxy-only option and rule in firewall is 500 fwd [Natd ip],3128 tcp from any to any 80 and in NATD squid.conf cache_peer proxy_A 3128 3130 proxy-only cache_peer proxy_B 3128 3130 proxy-only hope that's help To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message