1

In my pfsense box, I'm using Captive Portal (connected to RADIUS MS AD) and Squid setup as Transparent Proxy.

I would like to know if it is possible for me to maybe "inject" a small HTML DIV on the top portion of the browser where it displays Captive Portal information (like login name, session time, company logo and most importantly a logout button)?

pfSense Captive Portal CANNOT do this, I believe. Can Squid do it? Or perhaps some other way?

0

I use the pfSense captive portal a fair amount and you are correct, I've never seen a way to do this. I'm not sure if squid would do it either - it doesn't seem like a technically clean way to handle it.

Most of the time in hotspot environments I have seen this solved with a small popup window that has time connected, other details and a disconnect option. We did run into issues with this (the pfSense pop-up window had issues with certain browsers, so we disabled it), so we had a default landing page - pfSense does allow you to redirect to a specific page on a successful auth. That page would then give the user an option to launch a separate window with connection details and logout options. It (the status page) was also put on an easy to remember url (status.xxx.yyy) so users that lost the page or the popup could go in relatively easily.

0

Not what you want to hear sorry but we use Zeus's ZXTM software to dynamically mess with our html 'mid-flow' in this way, not with div's but that would actually be easier than what we have them do. Spendy though :(

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.