### Append the two line below in httpd.conf. AddType application/x-ns-proxy-autoconfig .pac AddType application/x-ns-proxy-autoconfig .dat ### Edit the dhcpd.conf file appropriately. option wpad-url code 252 = text; option wpad-url "http://192.168.0.10/proxy.pac\n"; option wpad-url "http://192.168.0.10/wpad.dat\n"; ### Edit the DNS zone file appropriately. wpad IN A 192.168.1.1 ; wpad proxy IN A 192.168.1.1 ; proxy ### Create wpad.dat and proxy.pac files and place them in the root directory of the webserver. function FindProxyForURL(url,host) { if(isPlainHostName(host)|| isInNet(host,"192.168.0.0","255.255.255.0")) { return "PROXY 192.168.0.10:3128; DIRECT"; } else return "PROXY 192.168.0.10:3128; DIRECT"; }