Thanks, Craig, guess that's my fallback. I've got some non-desktop
clients on the network so I'll have to see if some of the mobile and
game platform browsers support proxy auto-configuration.

I tried to set this up with the 2-system design discussed in the
document from pkg-readmes/ and in the end was defeated. A little more
complexity than I really wanted.



On Wed, Jul 15, 2015 at 5:23 AM, Craig Skinner <skin...@britvault.co.uk> wrote:
> Hi Darren,
>
> On 2015-07-14 Tue 17:47 PM |, Darren Spruell wrote:
>> Shamefully realized I missed the documentation from
>> /usr/local/share/doc/pkg-readmes/ that covers this.
>>
>
> I use Squid in basic non-transparent mode & http publish a proxy.pac
> file (& symlinked wpad.dat), which browers load once at start up.
>
> Easy enough to do with base daemons, & saves all that redirect traffic.
>
> http://wiki.wlug.org.nz/WPAD
> http://wiki.squid-cache.org/SquidFaq/ConfiguringBrowsers#Fully_Automatic_Configuration
> "All major browsers out now implementing WPAD. I think WPAD is an
> excellent feature that will return several hours of life per month."
> http://findproxyforurl.com/example-pac-file/
> Option 5 of http://nscsysop.hypermart.net/setproxy.html
> http://nscsysop.hypermart.net/proxypac.html
> http://www.deckle.co.uk/squid-users-guide/browser-configuration.html
>
>
> Unix hosts also have this in /etc/profile:
> [[ -n ${http_proxy} ]] || . /etc/proxy.env
>
> # ---------- /etc/proxy.env -----------
> http_proxy='http://proxy.internal:3128' # <---- must be a port number, not 
> /etc/services name
> https_proxy=${http_proxy}
> ftp_proxy=${http_proxy}
> gopher_proxy=${http_proxy}
> wais_proxy=${http_proxy}
> export http_proxy https_proxy ftp_proxy gopher_proxy wais_proxy
> # ---------- /etc/proxy.env -----------
>
> This works for ftp(1), curl, dillo, xombrero, claws-mail, etc....
>
> The DHCP method doesn't work, even with Windows boxes running IE,
> as the Squid wiki page says.
>
>
> There's also this index.html in the same directory as the proxy.pac file:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
> "http://www.w3.org/TR/html4/strict.dtd";>
> <html>
>   <head>
>     <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
>     <title>
>       Browser Setup - WPAD setup help
>    </title>
>   </head>
>   <body>
>     <h1>Direct Access Forbidden!</h1>
>     <h2>WWW access is via a proxy.</h2>
>     <p>
>       For your safety and secuity, configure your browser to auto-detect proxy
>       settings for this network.
>     </p>
>     <hr>
>     <p>
>       | For help, contact <a href="mailto:webmaster";>webmaster</a> |
>     </p>
>   </body>
> </html>
>



-- 
Darren Spruell
phatbuck...@gmail.com

Reply via email to