Captive portal with sponsorship approval
-
Hey,
I'm new with Newgate software.
I want to know if it's possible to create a captive portal with sponsorship approval?
With sponsorship I mean that visitor must give a email address of an employee.
The employee receive email and can approve the request and give the visitor access.Is this possible?
-
@scifoflux said in Captive portal with sponsorship approval:
The employee receive email and can approve ...
This employee checks it mail account every 10 seconds ? to see if some one, the captive portal, send a mail, so it can answer the mail right way - so the new captive portal user, still waiting to get a mail back, so he can proceed with the code received ?
And what if the employee took a break for a coffee ? Or worse, left for lunch ?
Think of it. When was the last time you used the free wifi at Mcdonaolds, and waited half on hour or so have your access granted ?
And how can your portal client receive mails ? The portal doesn't give hm access to internet, as he didn't receive the code from the employee yet.@scifoflux said in Captive portal with sponsorship approval:
I'm new with Newgate software.
Please, understand my refection : don't bother about pfSense, which is just another router, like all the others out there, as it does the same thing, with a load of known and less known gadgets added to it. So, your not new to it, you were already using them.
You want to do thing yourself ? GreatLook around and found out how things work. Always, my advise, do things as simple as possible, and that, imho, will already be hard enough.
Btw : that said, it is possible that you create your own captive portal login page.
The build in one works fine for the most common needs.
Your own creation will use your own own images, background, logo, and you can ask whatever you want, like a -> an mail address.
The page is created with html (you can also use/add PHP), and that's good news as since 1999 html is commonly used by everybody every day, and I can add : every time you look at a screen. But this time you have to create your own content.
Your portal also needs (imho) to use 'https' as most browser don't accept 'http' anymore .... and that's the same thing, using it is one thing, doing it yourself is another.
So, get, actually rent a domain name, create a certificate - use the pfSEnse acme package, etc. -
@scifoflux said in Captive portal with sponsorship approval:
Is this possible?
You are effectively looking for a "validating parking" application.
If the employee has to give them their email address, why not have the employee at the same time also send an access code good for a fixed amount of time. That access code could be a voucher or you could create a multiuser account and use the employee email address (before the @) as the login.
If you still want to send the email, you could look at something like the phpmailer application.
I do agree with Gertjan though, keep it simple. Why can't the receptionist just hand them the "info". It could be the wifi password and you could use unauthenticated access, just an "accept the terms" button. For that matter, the employee could email them that password in advance. You could change the password every Monday if you need greater security. Depending upon the number of employees, you could even set up a portal (on a separate VLAN) for each employee if your WiFi router supports sufficient number of stationIDs/VLans. OpenWrt on the WiFi Router could get that done.
Good Luck.