Search squid archive

dual internet connections traffic routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
This is my second attempt at asking this, as i obviously wasn't too clear last time.. Hopefully i do better this time.

The organisation i work for has many sites, all connecting to our core servers via frame-relay or other links.  They need to use our organisations proxy address to go anywhere, which requires authentication for internet access.  Now we have some sites that have two network links, the standard frame-relay and an additional ADSL connection.  The intention is to have all organisational traffic (i.e. xxx.gov.au and xxx.edu.au) go through the frame-relay link and all other internet traffic (i.e. cisco.com, squid-cache.org, etc) go through the ADSL connection.  I have rebuilt one of these sites with two links, and copied their configuration which i dont think is working as intended. 

Now i cant use a proxy.pac file, as i need to put a default username and password in for all traffic going out the frame-relay, otherwise they will be prompted and i dont want that as the traffic is free and doesnt need to be metered.  On the otherhand traffic out the ADSL link we use authentication on the squidbox (smb) and that works fine.

My question is (finally you say), if i use the cache_peer_domain directive. i.e.

cache_peer proxy.xxx.xx.edu.au parent 8080 0 no-query login=username:password
cache_peer_domain proxy.xxx.xx.edu.au .xx.edu.au .xx.gov.au

Will this only go out the frame-relay link (when the router sees proxy.xxx.xx.edu.au it forwards out the organisation link) and check if the URL has been cached, and if not, come back to the local squid and retrieve the URL from the ADSL connection?  Can anyone see a better way of doing this?

Will having two network cards help?  and have all traffic to xxx.gov.au and xxx.edu.au site go to eth0 and all other traffic go out eth1, then the router can forward all eth0 traffic through the organisational link and eth1 through the ADSL link?

Thanks, i hope that is clearer.. I definitely need advice.
Adam


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux