Syed Jahanzaib – Personal Blog to Share Knowledge !

February 12, 2012

Mikrotik PCC with HOTSPOT

Filed under: Mikrotik Related — Tags: , , , — Syed Jahanzaib / Pinochio~:) @ 12:45 PM

I received many emails regarding hotspot not working with PCC. Its very simple to run hotspot and PCC together on same Mikrotik Server.

(Personally I don’t like hotspot due to various security reasons, but still its useful in many environment)

First configure your mikrotik with PCC and HOTSPOT. Then Just add hotspot=auth in every pcc rules and it will work like a charm.
For example . . .

/ip fi man

add action=mark-connection chain=prerouting disabled=no dst-address-type=!local hotspot=auth in-interface=LAN new-connection-mark=WAN1_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0

add action=mark-connection chain=prerouting disabled=no dst-address-type=!local hotspot=auth in-interface=LAN new-connection-mark=WAN2_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1

Cheer’s

Syed Jahanzaib