$(if http-header == "Captive-Type")iWiFi v9$(endif) $(if http-header == "Access-Control-Allow-Origin")*$(endif) $(if http-header == "Access-Control-Allow-Methods")POST,GET,OPTIONS$(endif) $(if http-header == "Access-Control-Allow-Headers")Origin$(endif) $(if http-status == 302)Hotspot redirect$(endif) $(if http-header == "Location")https://auth.iwifi.ru/?res=success&uid=$(username)&nasid=$(identity)&uamip=$(server-address)&mac=$(mac-esc)&type=mikrotik$(endif)