Hello community

I'm new in the Packetfence/Captive portals arena.
Till now, I've only used the Unifi built-in captive portal, but I'm
experiencing performance issues, and the features are pretty limited.
I've used the latest PF Zen version on a VMware machine.

As a beginner, I wanted first to accomplish a simple captive portal, approve
the term and click connect, with no data collection or anything complex.

My PF server is installed remotely, like my controller (installed in AWS).

I've followed the guides I've found online (configuration described below).
But every time I try to connect to the guest WLAN, I get the error message
the server can't be reached.
This is the redirection URL -
http://packetfence.packetfence.org/captive-portal?destination_url=http://X.X.X.X/guest/s/m9s71fxm/?ap=68:d7:9a:16:07:2a&id=d4:6d:6d:38:8d:80&t=1670343693&url=http://www.msftconnecttest.com%2Fredirect&ssid=test

The PF is fully reachable from the WAP and controller.


I really appreciate any help you can provide.


Thanks


Configuration:

PF side:
-------------------------------------------------------

* The server is behind NAT (one-to-one) and FW and fully open to my address.
* one interface is configured (Management), and the portal listening daemon
is enabled.
*Captive portal is enabled:
                                       Network detection - disabled
                                       IP address - the external IP
*Authentication Source:
                         Name - null-source
                        Rule -  catchall, Role (guests) Duration (12 hours)
*switch:
                                    Ip address- external controller IP
                       Type- Unifi controller
                       Deauthentication Method - HTTPS
                      External Portal Enforcement - yes
                     Mode - production
                    Web services - HTTPS, username/password of the controller
*connection profile:
                Enabled
                Filter- connection type (wireless-web-auth)
                Source - null-source

I've restarted the restart pfcron service and run the below command:
/usr/local/pf/bin/pfcmd pfcron ubiquiti_ap_mac_to_ip
/usr/local/pf/bin/pfcmd cache switch_distributed list

Unifi side:
---------------------------------

Created and open auth WLAN and Apply guest policies.
On the Guest portal section:
        Authentication - External portal server
        Custom Portal - PF external IP
        Pre-Authorization Access - PF external IP
        Use Secure Portal
        Enable HTTPS Redirection


_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to