Marking Unauthenticated traffic in a Hotspot
Posted: Sat Jun 21, 2014 10:04 am
Is there any way to distinguish Unauthenticated traffic in a hotspot ?
Abhishek
Abhishek
Community discussions
https://forum.mikrotik.com/
Can you please come a little bit more closer or clear about what you are talking?Is there any way to distinguish Unauthenticated traffic in a hotspot ?
Abhishek
Hotspot User Profile -> BZKGROUP ( Mikrotik-Group Attribute Supplied by the AAA ) -> BZK ( Address List )
/ip firewall mangle
add chain=prerouting dst-address-list=BZK action=mark-connection new-connection-mark=BZKNORMALDOWN passthrough=yes
add chain=prerouting action=mark-packet new-packet-mark=BZK_NORMAL_DOWN connection-mark=BZKNORMALDOWN passthrough=no
add chain=prerouting src-address-list=BZK action=mark-connection new-connection-mark=BZKNORMALUP passthrough=yes
add chain=prerouting action=mark-packet new-packet-mark=BZK_NORMAL_UP connection-mark=BZKNORMALUP passthrough=no
/queue type
add kind=pcq pcq-classifier=dst-address pcq-rate=1M name=PCQ_BZK_NORMAL_DOWN
add kind=pcq pcq-classifier=src-address pcq-rate=1M name=PCQ_BZK_NORMAL_UP
/queue tree
add name=TOTAL_DOWNLOAD parent=ether2 max-limit=1024M
add name=BZK_NORMAL_DOWNLOAD parent=TOTAL_DOWNLOAD packet-mark=BZK_NORMAL_DOWN queue=PCQ_BZK_NORMAL_DOWN
add name=TOTAL_UPLOAD parent=ether1 max-limit=1024M
add name=BZK_NORMAL_UPLOAD parent=TOTAL_UPLOAD packet-mark=BZK_NORMAL_UP queue=PCQ_BZK_NORMAL_UP