Hello
I want to mark non authorized users in pppoe, because i want to redirect them to web page where they can read that they need to pay to get to the internet.
If user have balance he can access internet if not i want to redirect him to webpage.
I am using mikrotik usermanager L6 4.5.
I have public IP for all users.
Enable the web proxy. Add an access rule that denies all access with a redirect action pointing to your announcement page. Use the dst-nat chain to redirect the unauthorized clients to the proxy, make sure you exclude traffic going to the announcement page from being redirected that way.
You can’t redirect a client if he doesn’t have an IP address yet. How is the web server going to talk to the client without an IP address on the client to talk to?
If ‘not authorized’ means that their credentials will not work and they can’t log in then you cannot, and you cannot redirect them to any web page as a result.
Other people leave the credentials of users without payment intact but redirect to a web page as described above and block all other traffic.