In this tutorial we will setup a pfsense captive portal making use of a LDAP connection to an Active Directory and the built-in captive portal feature.
We are going to work on the following architecture
Basically we want the network clients that are on the LAN side of our pfsense virtualized (or physical) router to login through our captive portal.
Follow this tutorial to setup pfsense on virt-manager, if you want you can also install pfsense on proxmox like i did, these are fundamentally the same concepts, now looking from a client's POV, setup Windows Server 2019 with DNS + AD, check out this guide if you didn't do it already here. Once the WS2019 is properly setup with DNS + AD, we will need to add our AD user to the pfsense admin group:
create a bind user:
Some Address 67120,
Duttlenheim, France.
This cute theme was created to showcase your work in a simple way. Use it wisely.