Re: [squid-users] Internet and Intranet Servers - Internal and External Gateways

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Wed, 26 Sep 2001 15:53:22 +1000 (EST)

Hi,

On Wed, 26 Sep 2001, Abid Latif Sheikh wrote:

> Hi:
>
> A quick and basic question as I am a bit puzzled.
> I have TWO NICs in my Squid Box (Eth0 and Eth1).
> Eth0 is my ISP Link and IP from 128.3.3.X range with gateway from the same
> range and that of Eth1 is my local LAN Link with IP from 203.128.1.X range
> and Gateway from the same range.
>
> 1. How I can configure my squid to process all the http traffic heading for
> WWW/Internet to go to Eth0 and that of http traffic heading for
> Local/Intranet to go to Eth1 ?

That is a routing issue. It's a kernel thing, nothing to do with squid.
See "man route".

> 2. Along with the answer of Q1 should I be also using this acl ?
>
> acl local-servers dstdomain mynetwork.com
> acl external-servers src 0.0.0.0/0.0.0.0
> never_direct deny local-servers
> never_direct allow external-servers

What are you trying to achieve. The above doesn't actually make a lot of
sense. Explain what you want to do and we can show you how to do it.

Colin
Received on Tue Sep 25 2001 - 23:53:28 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:29 MST