I would like to centralize the logins from a server, for example, the user connects to wifi, and receives a form to fill in the user and password, but in all the examples I have seen so far, I realized that I should send the form by POST directly from the client to the AP Cambium, but what I would like was to send the POST via PHP from my WEB server but the answer I always have is "Error: Failed to connect to 0.0.0.0 port 880: Connection timed out ", is this model possible to work?
Attached, my php code, it works from the place where the wifi connection is being made, but it does not work from the WEB server.
your ask is post from web-server to cnPiolt AP instead of doing post from guest client to AP. If yes, this can be done. can you refer the attached intgeration document which gives sample code and packet capture content with examples.
yes, i have this document, but my PHP script only works if the code is run from a client, if I run the code from the webserver, it doesn't work. do i need to release any port on cnpilot for the webserver to be able to send a post to it? since who is connected to it is the client (cell phone)
Post directly from a webserver is supported when AP is managed through cnMaestro On premesis version. There is an option in WLAN guest-access configuration checkbox "External Portal Post Through cnMaestro" which when enabled will point the ga_srvr_ip in redirection query strings to the cnMaestro server IP/hostname as configured in the cnMaestro guest portal Services->Guest Portal "Guest Portal Hostname / IP". Under this flow all login POST requests will be sent to cnMaestro server and it will communicate to AP.
This will not work if you are using cloud version of cnMaestro to manage your devices.