Everyone, I have set up squid as a proxy http server in order to filter web access for an office that wants to block certain web sites. Is there a way to use the dhcpd server to assign the squid server and port number 3128 to each Linux desktop when they boot using the existing dhcpd server. Or do I need to change each user's network preference setup in firefox. The dhcpd server and squid are on the same server. I have looked at the man pages for dhcpd, dhcpd.conf, dhcp-options, dhcllient, and dhclient.conf. I found an option : option www-server ###.###.###.### However there was no reference to stipulate a port number like 3128 that is used by squid. Other searching on the web has uncovered the use of: option custom-proxy-server "http://192.168.1.1/wpad.pac" but I am uncertain as to how to configure wpad.pac file Any answers or suggestions on reading material would be appreciated. Thanks, Greg Ennis
Gregory P. Ennis wrote:> Everyone, > > I have set up squid as a proxy http server in order to filter web access > for an office that wants to block certain web sites. > > Is there a way to use the dhcpd server to assign the squid server and > port number 3128 to each Linux desktop when they boot using the existing > dhcpd server. Or do I need to change each user's network preference > setup in firefox. The dhcpd server and squid are on the same server.Have you considered setting up squid as a transparent proxy so all HTTP requests go through it instead of configuring the clients to use the proxy? It'd be more secure anyways considering not everything has configuration to use a proxy. nate
Reasonably Related Threads
- dns replication error due to deleted records
- Centos 7 dhcpd failure to allow a 2nd network over same interal nic
- dns replication error due to deleted records
- Centos 7 dhcpd failure to allow a 2nd network over same interal nic
- further testing - Re: dhcp errors - Re: dhcp example