I am stumped as the original poster on the proper form of the redirect from the external login page.
My set up is external radius, external login page.
servlet login.html
<html>
<title>...</title>
<body>
<form name="redirect" action="https://billing.mynetwork:12345/cgi-bin/portal.cgi" method="post">
<input type="hidden" name="cmd" value="login">
<input type="hidden" name="clientmac" value="$(mac)">
<input type="hidden" name="clientip" value="$(ip)">
<input type="hidden" name="user" value="$(username)">
<input type="hidden" name="link-login" value="$(link-login)">
<input type="hidden" name="clienturl" value="$(link-orig)">
<input type="hidden" name="error" value="$(error)">
<input type="hidden" name="nasip" value="$(hostname)">
<input type="hidden" name="nasid" value="$(server-name)">
<input type="hidden" name="nasifc" value="$(interface-name)">
</form>
<script language="JavaScript">
<!--
document.redirect.submit();
//-->
</script>
</body>
</html
I get the splash page, select the service, service get populated into the radius database.
Send a redirect to a page that is not in the walled garden back to the subscriber.
<html><head>
<meta http-equiv="refresh" content="0; url=http://my.outsidewalledgarden.com">
<meta http-equiv="pragma" content="no-cache">
</head><body></body></html>
Subscriber gets cannot display page, no attempt to go back to the radius server
As soon as I delete the subscriber from the hosts list or the subscriber idle times out, which deletes the subscriber from the list, the subscriber will authenticate.
I am missing something very obvious. I have read and re-read the Hotspot documentation.
Any suggestions would be appreciated. I have used Willi-OS in the past very successfully. I now need to make Mikrotik work.
Thanks