Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 1999 16:59:25 +0700
From:      "Thomas Wahyudi" <thomas@home.unpar.ac.id>
To:        "aLan Tait" <aLan@fil.net>
Cc:        <freebsd-isp@FreeBSD.ORG>
Subject:   Re: Transproxy to Squid Box!
Message-ID:  <013a01bf4c63$41179100$6567640a@siomay.unpar.ac.id>

next in thread | raw e-mail | index | archive | help

-----Original Message-----
From: aLan Tait <aLan@fil.net>
To: freebsd-isp@FreeBSD.ORG <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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?013a01bf4c63$41179100$6567640a>