We are trying to configure Mikrotik to allow us to create two user groups, Group-A with no content (porn) filtering, and Group-B with content filtering. We are trying to configure Hotspot so that when people sign up for Internet access, they can select if they want filtered (like if they have kids) or unfiltered Internet access.
I am open to any reasonable (simple) method to achieve this, but here are my thoughts thus far:
As near as I can determine, it looks simplest to do this using policy based routing, whereby we would somehow dynamically assign users from Group-A in one /24 and assign Group-B IP addresses from a different /24, then policy route Group-B's traffic (based on their IP address) thru another device (content filtering appliance/transparent HTTP proxy) which will not allow undesirable Internet content.
In this scenario, we are not using the HTTP proxy in the Mikrotik.
To accomplish this we wanted to create two DHCP scopes, one for each user group, then configure policy based routing in the Mikrotik to allow us to route traffic, however since the users are authenticating via radius, I dont yet understand how to assign a user's IP address dynamically if they have not yet authenticated (paid) via the captive portal/hotspot.
If anyone could steer me in the right direction on how to accomplish this, or what to read to figure out how to do this, I would really appreciate the help. Thank you in advance.
P.S. Here is a diagram that I put together real quick to show what we are trying to do.