On Feb 28, 2014, at 9:02 PM, Ryan Coleman <[email protected]> wrote: > We’re not doing a login page - it’s a simple thanks for coming, here are some > basic rules and see our specials. Think of it like a McDonald’s or chain > coffee shop page. > > I can “bless” access through the CP - in fact I’m already doing that for the > CSS, images and javascript files.
You mean allowing CSS, images, and javascript by using Allowed IPs and Allowed hostnames? That’s no problem. Allowing the whole internet after they’re through the portal is a different story. You could use the Pre-Authentication URL sending them to your outside page (all assets must be explicitly allowed), with a “Continue/Accept/Sign On” button that POSTs the right data to http://captive_portal:8000/index.php thus allowing the customer through the portal. That’s pretty straightforward and shouldn’t require any customization. All you should need to do is set the portal to “No authentication” and put a form like this at the bottom of your externally-hosted thank you page: <FORM METHOD=“POST” ACTION=“http://local_captive_portal:8000/index.php”> <input name="accept" type="submit" value="Continue"> </FORM> If you’re going to have multiple properties you’ll need some logic to generate the proper POST URL based on what property the request is coming from unless they’re all the same. Pre-Auth URL such as: http://my_thanks_for_coming_host.com/thanks.php?property=property_one Would probably get you there. > > On Feb 28, 2014, at 9:34 PM, Chris L <[email protected]> wrote: > >> I don’t think so. Your remote system will not have access to the things >> pfSense needs to add the captive portal bypass entries to ipfw. Namely the >> MAC address associated with the IP Address. >> >> A RADIUS Server could be remote. >> >> On Feb 27, 2014, at 8:17 AM, Ryan Coleman <[email protected]> wrote: >> >>> Can I have the interstitial page go straight to a website to handle >>> everything? Rather than locally handled on the system? >>> >>> I am activating this feature at a bar where I do tech work and would prefer >>> to manage everything back on our website rather than trying to maintain >>> code on the controller. >>> >>> TIA. >>> — >>> Ryan >>> _______________________________________________ >>> List mailing list >>> [email protected] >>> http://lists.pfsense.org/mailman/listinfo/list >> >> _______________________________________________ >> List mailing list >> [email protected] >> http://lists.pfsense.org/mailman/listinfo/list > > _______________________________________________ > List mailing list > [email protected] > http://lists.pfsense.org/mailman/listinfo/list _______________________________________________ List mailing list [email protected] http://lists.pfsense.org/mailman/listinfo/list
