I have RB951G. I need for some local IPs block internet acces with costum browser message. "They are block because do not pay fee or something like that".
How this can be setup in mikrotik 5.26?
Can You tell me how to build virtual or webserver within mikrotik to store page to redirect?
How to setup redirecting using proxy?You don't have a server on your localnet?
You can use the proxy to do what you want, but you need a server and page to redirect your clients to.
/ip proxy access
add src-address=192.168.0.8 action=deny redirect-to="192.168.0.2/payme.html"
/ip proxy
set enabled=yes
OK great ThnksIt is pretty easy. If the web server is 192.168.0.2 with the "you need to pay" message on a payme.html page, and the client you want to redirect is 192.168.0.8, then after enabling the transparent proxy:If you need an example of how to set up a transparent proxy, here is the stuff:Code: Select all/ip proxy access add src-address=192.168.0.8 action=deny redirect-to="192.168.0.2/payme.html"
http://wiki.mikrotik.com/wiki/Manual:IP ... on_example
Insure you enable the proxy.BTW, the server does not need to be on the same localnet, or even on your router. It can be on the internet with a public ip and it will redirect ok.Code: Select all/ip proxy set enabled=yes