-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Captive portal plugins access #1882
Conversation
|
@evbevz I'm not sure we should add this, there's no use case for it in the standard product, maybe it's better to look for a template include construction for custom settings so we don't have to extend the standard model (more similar like the proxy/squid approach). |
|
For custom functionality CP template must have access to custom controller. Access to controllers is guarded by authorisation system. I can't find another way to get access to custom controller. |
|
@evbevz This has been rejected and closed a long time ago, however I need to solve the exact same problem and implement some sort of SMS-based captive portal. I posted in the forum a long time ago without any reply from devs (https://forum.opnsense.org/index.php?topic=9749.msg44477#msg44477). Would you be willing to share some code samples that you used at the time or point me at a way to solve the problem using "overwrites" as mentioned by @AdSchellevis ? Patrick |
|
Hi, @pzwahlen. My solution has:
If you don't need proxy logs, some parts can be skipped. |
|
Hi, I'm looking for a solution in a private environment (large house with 2 families, kids en friends...). The idea is to avoid sharing main wifi passwords and provide a somewhat bandwidth-limited guest access. So far, the built-tin template without any authentication ("click to connect") does the job. I just wanted to improve on it, without having to use vouchers or a user DB. I don't intend to intercept the trafic, so proxy integration won't be used. My main concern is that the solution needs to survive upgrades, or it will be hard to maintain over time. Would you be willing to share or can we discuss pricing for a private setup ? Anyway, thanks a ton for having taken the time to respond. |
|
@evbevz Would you be willing to share your Captive Portal solution ? |
|
@pzwahlen unfortunately I can’t share the sources anymore, as the work was done in the interests of another customer who didn’t consent to share it. sorry. |
|
@evbevz Thanks, this is perfectly clear and fine. |
Plugins ability to register access paths to custom controllers in captive portal config.
For example, I made captive portal plugin for sms-authentication, and clients must have access to my sms-authentication controller.