Hi All,
I just configure web proxy on my mikrotik box with the intention to block some websites. The proxy is running, but I discovered that the DHCP clients are not inheriting the proxy setting - it only works when I set up the proxy manually on the web browser.
Can anyone kindly tell me how to make the DHCP clients on my network automatically get proxy configuration? I will very much appreciate.
Hi Fewi/All,
So is there no way to make every connecting PCs web browser to automatically set to the proxy setting. Can’t this be achieved by scripting?
Please I need an urgent help from the GURUs on this forum.
http://en.wikipedia.org/wiki/Proxy_auto-config
What is the problem with transparently proxying everyone as I described, though? There’s no need to even have the client know he’s being proxied.
The Mikrotik box is configured to give out DHCP (it is an existing network). The connecting PCs work very well, but for the purpose of blocking some websites that is why we are going down this line. The problem is that all the sites listed for blocking in the proxy access are still working, except i manually configure the proxy on the PCs web browser to point to the proxy and it is not going to be easy to do this and I am unable to make it work dynamically.
Kindly give me a more understandable step by step approach to tacle this problem - kind of paste an existing configuration.
From that link: Howto
By default, the web-proxy is listening on port 8080. Therefore we first need to redirect all traffic on port 80 to port 8080 with a DST-NAT firewall rule and ensure that the web-proxy service is enabled and listening to port 8080.
To enable a transparent web proxy on Mikrotik, perform the following:
ip firewall nat add in-interface=ether1 dst-port=80 protocol=tcp action=redirect to-ports=8080 chain=dstnat
ip proxy set enabled=yes port=8080
Pay particular attention to locking down the security of the web-proxy. Read about the /ip proxy access command!
It is also important to consider the size of the cache and all the various other parameters you can change on the web-proxy, however this is outside the scope of this article.