[ILUG] dansguardian, squid, smoothwall and transparent proxying
Proinnsias Breathnach
proinnsias at project-bob.org
Wed Mar 9 14:26:41 GMT 2005
On Wed, Mar 09, 2005 at 02:13:14PM +0000, conor.daly at cod.utvinternet.com wrote:
> > On the smoothwall: try putting this in the /etc/dhcpd.conf - it should
> > work for both linux and win clients - but I've only used it on winXP
> > ones :(
>
> Fortunately, I've only one win32 box (with IE removed) in the house, the
> rest are linux machines. This does depend on the machines using dhcp
> though. Once junior_X figures out how to set a static IP address, this
> will get bypassed unless I can block outbound also. However, in the
> meantime, can I put this stuff into my dhcpd.conf on the internal server
> (which is already serving dhcp for the network? Or does this have to
> happen on the smoothie?
It goes on the dhcp server's stanza ... probably only need the
"option-252" part really ...
> > option option-252 "http://proxy.mydomain.home/proxy.pac\n" ;
> >
> > ---------------8<------------------
> > function FindProxyForURL(url, host)
> > {
> > if (isInNet(host, "192.168.X.0", "255.255.255.0")) {
>
> What does this line mean? Sounds like it bypasses the proxy stuff for
> hosts in the network 192.168.X.0 which is what all of my hosts are in.
>
Yep - that's exactly it :)
P
More information about the ILUG
mailing list