Dale, can you please clarify how you configured the redirect.

You are saying it is DNS name. My Unifi controller doesn’t want FQDN when I 
enter it in the external portal field



 

Or you mean it is configured under redirection section as shown below

 



 

Are you sure that your endpoint that is coming online is capable of resolving 
this name?

Since it is hosted at the central site and resolvable by our internal DNS I 
don’t want to allow guest users to use it to resolve names.

I’m just using PF IP address. It seemed to work but …. not consistent.

 

Also, what do you have in the field for “allowed authorization access” ? I’m 
using all for now but I don’t like it. Thinking of having only Unifi controller 
and PF IP addresses in there

 



 

Eugene

 

 

From: Dale Riley <dri...@pinerichland.org> 
Sent: Tuesday, December 20, 2022 4:48 PM
To: ype...@gmail.com
Cc: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] 502 Bad Gateway on Captive Portal

 

I just made sure today that PF was updated.

Active directory auth seems to work, further testing on that tomorrow. 

Both SMS and Email guest registration give the same result.

This is out of band.  Unifi is redirecting the captive portal to the DNS name 
of the packetfence install, which is on the server network.  Portal is enabled 
on the management interface. 

I may need to go through and reinstall PF.  I had a lot of trouble getting it 
working initially, and rebuilt everything from scratch to get it to work.  I've 
just been updating using apt up until now.

 

 

On Tue, Dec 20, 2022 at 7:37 PM <ype...@gmail.com <mailto:ype...@gmail.com> > 
wrote:

It looks and sounds we need to create a sub-group of those integrating Unifi 
with PF. 

Are you on the latest version of PF, Dale ?

How do you register the device with the phone number? I believe it is via SMS ?

Is your deployment in-band or out-of-band ?

I followed the instructions described in the PF latest deployment guide

https://www.packetfence.org/downloads/PacketFence/doc/PacketFence_Installation_Guide.pdf

And it seems to work but it is not consistent and I keep running into newly 
discovered problems that I described in the previous email

 

Eugene

 

 

From: Dale Riley via PacketFence-users <packetfence-users@lists.sourceforge.net 
<mailto:packetfence-users@lists.sourceforge.net> > 
Sent: Tuesday, December 20, 2022 5:02 AM
To: packetfence-users@lists.sourceforge.net 
<mailto:packetfence-users@lists.sourceforge.net> 
Cc: Dale Riley <dri...@pinerichland.org <mailto:dri...@pinerichland.org> >
Subject: [PacketFence-users] 502 Bad Gateway on Captive Portal

 

I have an install of PacketFence and it's been working fine for months.  Using 
the captive portal with Unifi APs and a controller.  On new registrations, the 
captive portal comes up fine, but when entering an email or phone number for 
registration and clicking continue, you get a 502 Bad Gateway.  I can't find 
any relevant logs.  Any help would be appreciated.

 

  _____  

  
<https://www.pinerichland.org/cms/lib/PA01001138/Centricity/Domain/2/PRSD.jpg> 

 

  _____  

  
<https://www.pinerichland.org/cms/lib/PA01001138/Centricity/Domain/2/PRSD.jpg> 

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

Reply via email to