I thought I’d bring awareness to this as there seem to be a couple of MikroTik units out there with open proxies. http://www.proxynova.com/proxy-server-list/
We were alerted today to some unusually high CPU usage on a RB450G that was being caused by some people making use of our unsecured web proxy that was setup “temporarily”. Obviously I don’t want to waste CPU and bandwidth on random peoples browsing and possibly illegal activities so here is how you can secure it.
- Use the firewall to stop outside users getting to the proxy
add action=accept chain=input comment="Allow authorised users to access web proxy" disabled=no dst-port=8080 protocol=tcp src-address=192.168.1.0/23
add action=drop chain=input comment="Drop everyone else" disabled=no dst-port=8080 protocol=tcp
- Use web proxy rules that restrict allowed sites and users
add action=allow comment="Let authorised users visit site1" disabled=no dst-host=site1.com dst-port=80 src-address=192.168.1.0/24
add action=deny comment="Deny everything else" disabled=no