Captive Portal with LDAP Active Directory
-
Good day guys. I'm newbie here.
I have a problem on my pfsense. I have a Active Directory LDAP and I bind it on my pfsense(Working good) then I configure my Captive Portal on my pfsense. My problem is if I enable my Captive Portal the login page wont appear on my browser and because of that I can't login to have access on my internet. Can someone help me with this? TIA.
P.S. my DHCP and DNS is on my Window Server and I already disable the DHCP Server and DNS Resolver, Forwarder on my pfsense.
-
hello,
please note my point.- LDAP binding in captive portal is for authentication purpose if you not using local pfsense user credential information.
2.for Web login URL your DNS should be you pfsense gateway for example : 192.168.1.1(if your pfsense local IP. - for using windows based DHCP and DNS you use DHCP relay settings available in pfsense option.search google about DHCP relay option when using windows based DHCP or DNS services.
For my recommendation : enable DNS resolver or use DHCP of pfsense instead of windows server DHCP.
Thanks
- LDAP binding in captive portal is for authentication purpose if you not using local pfsense user credential information.
-
@ahsunh I'll try this one Sir. Thank you.
-
@ahsunh it didnt work Sir.
-
@ahsunh update Sir. my login portal already appeared on my browser but the problem is everytime I login my user credentials(from LDAP) I still can't access internet. BUT if I disable my Captive Portal my internet is good and I can browse any sites. Any idea Sir?
-
@aspiringnetworkadmin See my below point
1 . Check your captive portal interface IP DNS or gateway is properly set on DHCP interface of PFsense
2. Check Interface have proper firewall rules set for allow all traffic
3. Check Captive portal is default pfsense page or any customization in it.
4. check LDAP user is properly authenticated via user credentials.For information when login captive page after that ping google.com or 8.8.8.8 to verify browser get through IP or DNS resolver
-
@ahsunh Hi Sir how to perform this 3rd and 4th steps? Sorry Sir I'm just confuse.
- Check Captive portal is default pfsense page or any customization in it.
- check LDAP user is properly authenticated via user credentials.
-
@aspiringnetworkadmin
Point 3 = user connect to your captive interface the login page shows or not properly if customization it can not show or not login properly to send request to your LDAP serverPoint 4 = go go Diagnostic > Authentication and check your credentials working or not via Pfsense to LDAP server by selecting your LDAP database on drop box.
-
@ahsunh Thank you for the reply Sir. I already solve the problem. Thanks again. God bless!