D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Forcing Squid proxy to use ppp0

 

On Tue, 2008-05-13 at 18:26 +0100, Rob Beard wrote:
>
> The problem is, Firefox doesn't appear to work when using the mobile 
> broadband connection if I set the proxy to point to squid.  It's as if 
> Squid is trying to look at eth0 for it's default route rather than ppp0.
> 
> I just wondered if there is a way of forcing Squid to pick up the 
> internet through ppp0?
> 
As far as I am aware squid has no specific interface settings. It will
use whatever your routing table provides in order to reach a given IP
address.

> Actually thinking about it, I presume it's a case of changing the 
> default route, or could squid need restarting after the PPP connection 
> is established?
> 
Squid should cope (i.e. not require restarting) if the network
connection is dropped. It will simply not be able to get/cache anything,
and, of course, your users won't see the Internet :-) If changing the
default route makes it work (provides a route to the Internet) then go
for it.


John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 587287
E-mail: John.Horne@xxxxxxxxxxxxxx       Fax: +44 (0)1752 587001

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html