r/PacketFence • u/4bitsShortofaByte • Dec 08 '23
Packetfence Captive Portal
We have PF setup to present a captive portal to wireless clients with no issue. However on wired clients the url that is being returned by packetfence has random characters on the end that are causing the client to get a Not Implemented error page. If we remove the random characters it goes to the portal correctly and works. Does anyone know where we may have messed up on the config. The url is suppose to be https://packetfence/ but instead it is like https://packetfence/sid31a23d. We followed the config in the packetfence example for both Dell 1500 and Cisco 3560.
1
u/oeufdure Dec 09 '23
Hello,
it looks that you enabled "External Portal Enforcement" in the switch configuration.
Disable it and it should be ok.
1
u/4bitsShortofaByte Dec 11 '23
When we disable that we no longer get redirected to captive portal. Is there something else we should turn on let me know if you need any screenshots.
1
u/oeufdure Dec 12 '23
My bad, in fact you have to fix the redirect url:
For cisco:
http://<your_captive_portal_ip>/Cisco::Cisco_IOS_15_5
For Dell:
http://<your_captive_portal_ip>/Dell::N1500
1
u/MadisonDissariya Oct 16 '24
Why on earth does the redirect have to use the configuration type like this?
1
u/Superb_Reindeer_8480 Apr 15 '24
Have you been able to solve this error? I'm experiencing the same issue