RADIUS attribute Mikrotik-Mark-Id ?????
Posted: Mon Feb 23, 2009 7:08 am
Hello people,
I need a little help to understand this attribute returned by RADIUS server.
What I want to achieve: I want to redirect the traffic from my "suspended" customers to my server that will have a message for them.
What is done: My RADIUS server is sending the Mikrotik-Mark-Id attribute with value suspended. So I can create some dst-nat rules on my suspended chain to redirect the traffic I want. After logging in, I see a dynamic firewall mangle rule with chain hotspot with action=mark packet packet-mark=suspended
My problem: The customer is logged in (via MAC) and I see the traffic from this customer going through the router but no packet is marked (At least the rule counter is not incremented). Reading the docs, it says that upon receiving this attribuite MK will create a dynamic rule with chain=hotspot action=jump jump-target=Attribute value.
Can somebody help me understand what is going on, or if I am missing something ?
Thanks,
I need a little help to understand this attribute returned by RADIUS server.
What I want to achieve: I want to redirect the traffic from my "suspended" customers to my server that will have a message for them.
What is done: My RADIUS server is sending the Mikrotik-Mark-Id attribute with value suspended. So I can create some dst-nat rules on my suspended chain to redirect the traffic I want. After logging in, I see a dynamic firewall mangle rule with chain hotspot with action=mark packet packet-mark=suspended
My problem: The customer is logged in (via MAC) and I see the traffic from this customer going through the router but no packet is marked (At least the rule counter is not incremented). Reading the docs, it says that upon receiving this attribuite MK will create a dynamic rule with chain=hotspot action=jump jump-target=Attribute value.
Can somebody help me understand what is going on, or if I am missing something ?
Thanks,