Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Extending the captive portal
« previous
next »
Print
Pages: [
1
]
Author
Topic: Extending the captive portal (Read 3470 times)
yut.sin1301
Newbie
Posts: 5
Karma: 0
Extending the captive portal
«
on:
October 07, 2017, 08:54:42 pm »
Hi there, My name is Jeen
first of all thanks for this great project!
We are planning to use the OPNsense captive-portal in our guest-wlan, but have some special requirements.
When people want to go online, they have to provide their first name, surname and email-address and also accept our terms and conditions. There is no need to validate these information, just enter, accept, click OK and they should be online
แทงบอลสเต็ป
At the same time, these information and the corresponding mac-address has to be logged.
Is there a possibility to extend the existing captive portal this way?
Thank you
«
Last Edit: October 08, 2017, 09:19:50 am by yut.sin1301
»
Logged
franco
Administrator
Hero Member
Posts: 17654
Karma: 1610
Re: Extending the captive portal
«
Reply #1 on:
October 09, 2017, 10:55:40 pm »
Hi Jeen,
The extension sounds possible, but we don't have a way to log arbitrary information and the MAC address directly as far as I know, so they would have to be added.
The info sounds easiest: you can create your own template, submit the extended form data via JavaScript with the username / password as a concatenated "comment" field which would be pushed to the log if not empty. It's accessible from the log and we don't burden the database this way.
What do you think?
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Extending the captive portal