Pfsense Captive Portal
Posted 08 March 2012 - 08:37 PM
Though I have a good working OpenWRT, I am trying to see if I can make HotSpotSystem work with pfSense.
pfSense is BSD based, and does not run Coova nor Chili, but does have a captive portal.
I got as far as to enter Radius info, and to redirect to the logon URL, but the logon URL wants the NASID, which there is no parameter for I suspect I simply could parse it into the URL, but how?
Right now, I am forwarding to URL: https://customer.hotspotsystem.com plus /customer/hotspotlogin.php?mode=comb
and get message: ERROR: NASID is missing, there are missing parameters in the URL
Obviously I tried: .../customer/hotspotlogin.php?mode=comb&nasid=username_location
and then I get: Login must be performed through ChilliSpot daemon!
Same for: .../customer/hotspotlogin.php?mode=comb&nasid=username_location&secret=hotsys123
A bit better, but not quite. Probably something more needs to be added
Any suggestions? pfSense allows me a PHP file to be parsed, so possibly I can even squize an MAC in there (not sure, IP would be easier).
The rest of the parameters, like radius1&2, secret, allowed IP and hosts, are all there in pfSense GUI setup.
Any help appreciated
Posted 09 March 2012 - 10:09 AM
well, this kind of solution works only with coovachilli or chillispot based implementation.
You can try
but from there users still need to log in which must be through the router.
If pfSense has an internal IP for logins, then you can set it in the Control Center > Modify Hotspot Data > Splash Page settings.
Or it may need a mikrotik like setup where the login page is local and you can edit it. You can see the mikrotik guide, step 10, how it was implemented there.
Posted 06 July 2012 - 08:55 AM
Posted 20 April 2013 - 05:05 PM
I used the Mikrotik guide but i have problems with some values in the login.html file
Can you tell me what value shoul be in $(server-address) i already tried with some but it is still not working
I get the login page i can activate the code but then i get a url with an error not found like this:
Thanks a lot i hope we can get a guide for pfsense after this
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users