I have setup web proxy to listen on default port 8080. i have also created the Nat rule
chain=dstnat action=redirect to-ports=8080 protocol=tcp
src-address=172.17.0.0/24 dst-port=80
The rule is working fine but I can’t seem to get any browsing done on the allowed web pages in the proxy.
Do i need to give the proxy server access to internet via NAT rule or masquerade rule etc?
Hi guys, my web proxy working perfect (RB1000 V4). But I can`t set content filter using web proxy server. Content filtering working on hotspot by firewall filtering option.
Actualy my goal is block bad pages then show to my customers “Blocked page”. My customers are connecting via hotspot. So I can set content filter using firewall mangle and filter rules. Here is my config:
But I can`t show to my customers that page is blocked by administrator. Firewall filter rule just drops packets.
Therefor I have started to use Web proxy service. In this case I can block web host by static host name.
I havent done that. But I have added NAT rule, which works like that. Just because I didnt know hotspot already has this feature.
[admin@Testing] /ip firewall nat> print det
1 ;;; To Proxy
chain=dstnat action=redirect to-ports=1010 protocol=tcp src-address=172.16.24.0/24 dst-port=80
My only wish is use content and URL filter with “Admin Blocked Page”.
Has the RouterOS anyway to add firewall filter rule with redirect page? Like it - <<action=drop, redirect=errorpage.html>> lol…
I just checked and I have only webproxy there. If I activate the webproxy I disable the hotspot.. I don’t know why, but you can imagine.. xD
Mmm..
with redirect in webproxy you can redirect people to YOURHOTSPOTIP/deny.html
You need to place deny.html in your routerOS and they will see the file when deny.