Zyxel USG FLEX / ATP
Connect Zyxel USG FLEX and ATP firewalls to Hotspotly with the Web Authentication external portal and RADIUS.
This guide connects a Zyxel USG FLEX or ATP firewall running ZLD 5.x to Hotspotly. Zyxel's Web
Authentication feature sends the guest to the Hotspotly login page as an external portal. After
sign-in, the form goes to Zyxel's own login address (weblogin.cgi) and Zyxel checks the guest
against the Hotspotly RADIUS server. Zyxel does not build a tunnel: RADIUS requests come from the
device's static WAN IP address.
There is no automatic configuration from the panel for Zyxel (no published management API is used for Zyxel ZLD). You make the settings below in the Zyxel interface yourself.
In short
My Devices → Add Device → Zyxel USG FLEX / ATP → static IP, Guest network gateway (LAN IP) (the guest interface IP) → Create device. Enter the RADIUS address, the secret and the portal address from the wizard on the Zyxel, then use Test connection on the device page.
Prerequisites
| You need | Details |
|---|---|
| Device and firmware | USG FLEX or ATP, ZLD 5.x. The USG FLEX H (uOS) series is not covered by this guide; its external portal uses a different approval flow. |
| Static WAN IP | A static public IP from your internet service provider that belongs only to this venue. |
| Admin access | Full access to the Zyxel web interface (and the CLI if needed). |
| Server method | The Public RADIUS (tunnel-less) method must be enabled on the server. If it is not, the wizard says so before you fill anything in. |
1. Add the device
- On My Devices, click Add Device and choose Zyxel USG FLEX / ATP.
- For How does your device reach the internet? choose a static IP or (for a dynamic IP) a host name and enter the Zyxel WAN address. If the same public IP is registered for another venue, the record is refused with a clear message.
- In Guest network gateway (LAN IP), enter the IP address of the Zyxel guest interface. The login form is sent only to
https://<this IP>/weblogin.cgi; the wizard creates the hotspot with this gateway. - Click Create device. The wizard shows RADIUS server, 1812 / 1813, RADIUS secret, External portal address (
…?gw=zyxel) and Allowed hosts (walled garden) with copy buttons.
Copy the secret now
The RADIUS secret is shown only on this screen and is entered on the Zyxel by hand. If you lose it, renew it with Regenerate secret on the device page and enter it again.
2. Backup line
The address you entered in the wizard is listed on the Connection settings card of the device page. If you have a backup line, add it in WAN IP addresses with This address is a static IP assigned by the internet service provider and belongs only to this venue.. There is no management API profile for Zyxel on this card; it shows No vendor API connection for this device type. MikroTik devices are managed with the RouterOS API over the tunnel..
3. Hotspot and gateway
The wizard creates the hotspot with the Guest network gateway (LAN IP) address. If you add another hotspot, the Gateway field is required: enter the IP address of the Zyxel guest interface.
4. Settings on the Zyxel
The menu paths are ZLD 5.x paths; their names can differ by firmware version. Find the setting by its function.
| Step | Where the panel points | What to enter |
|---|---|---|
| RADIUS server | Configuration > Object > AAA Server > RADIUS | RADIUS server, authentication port 1812, RADIUS secret. |
| RADIUS accounting | Same place | Accounting port 1813. The access log is built from these records. |
| Authentication method | Configuration > Object > Auth. Method | Create an authentication method that uses the Hotspotly RADIUS server group. |
| Web Authentication | Configuration > Web Authentication > External Web Portal | A policy of type External Web Portal; the login URL is External portal address from the wizard (…?gw=zyxel). The redirect parameter names must be client_mac, client_ip, mp_idx and original_url. |
| Speed groups | Configuration > Object > User/Group; BWM | Bandwidth profiles arrive as a speed group in Filter-Id (hs-rate-<down>-<up>, or hotspotly-nolimit): create ext-group-user objects with these names and a BWM rule per group. |
| Pre-login access | Configuration > Web Authentication > Exceptional Services | Allowed hosts (walled garden) and the addresses of the login methods enabled on the hotspot. |
| MAC format | Configuration > Object > AAA Server > RADIUS | Any MAC address format works: colon, dash, lowercase or no delimiter are recognised as the same device. |
Parameter names
The parameter names Zyxel uses in the redirect can differ by firmware. On newer firmware the names
can be set in the CLI. Hotspotly requires the client_mac parameter: if it is missing, the guest
cannot sign in.
Automatic setup
Mode: Guided. Zyxel does not publish a writable management interface for the external web portal that we could verify, so the plan lists the values step by step with the field names of the Zyxel screens (RADIUS server, authentication method, Web Authentication, Exceptional Services) and nothing is written to the device. Undo is a checklist: remove those objects yourself. The Zyxel Nebula cloud variant is not modelled. Field test on a real device is listed in the operations notes.
HTTPS login certificate
The guest form goes to Zyxel's own HTTPS login page (weblogin.cgi, port 443). Hotspotly cannot
install a certificate on this page: no usable management API exists for ZLD. That is why the
Automatic setup card on the device page shows
This device type has no management API to install the certificate automatically; login uses the device's own page.
If the Zyxel presents a self-signed certificate by default, the guest browser may show a warning during sign-in. You can import a certificate by hand in the Zyxel interface or CLI; since the login address is the guest interface IP, the certificate must cover that address.
Test with a guest device
On the device page, Test connection shows each step from real records (including RADIUS client record, Portal redirect and login and RADIUS record from the device). The last steps complete after the first guest login:
- Connect a phone to the guest network. Zyxel should redirect the browser to the Hotspotly login page.
- Sign in with a login method. The form is sent to the Zyxel login page and internet access opens.
- In the panel, check that the session appears on the Sessions page.
Session, speed and disconnect behaviour
| Topic | On Zyxel |
|---|---|
| Accounting | Yes (1813). The guest credential is bound to the client MAC address (Calling-Station-Id); the access log is built from accounting. |
| Session disconnect (CoA) | No. Speed or quota changes made mid-session apply at the next sign-in. The time limit is sent as Session-Timeout and Idle-Timeout. |
| Speed limit | The bandwidth profile is sent in Filter-Id as a hs-rate-<down>-<up> group (hotspotly-nolimit for a profile without a speed). On the Zyxel you create user groups with the same names and a BWM rule per group. |
| Syslog and access logs | Syslog is not collected from devices without a tunnel. Access log records come from RADIUS accounting (no NAT or DHCP records). You do not need to set a syslog server on the Zyxel. |
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| The method shows "not ready" in the wizard | Public RADIUS is not enabled on the server. | Tell the platform administrator; the wizard shows the missing step. |
| This IP address is already registered on another device. Two venues behind the same public IP cannot be told apart; get a static IP or choose a tunnel method. | The same public IP is registered for another venue. | Enter the venue's own static IP. |
| The guest sees an error on the portal and cannot sign in | The redirect has no client_mac, or it uses another name. |
Check the Web Authentication parameter names; set client_mac in the CLI if needed. |
| The login page opens but sign-in does not complete | The hotspot Gateway is empty or is not the guest interface IP. | Follow Hotspot and gateway. |
| The Zyxel rejects the login | The RADIUS secret is wrong, or the Zyxel leaves through an unregistered line. | Renew the secret and enter it again; add the backup line with the static declaration. |
| The speed limit is not applied | There is no group or BWM rule with the same name on the Zyxel. | Create the group and the rule with the hs-rate-… name that matches your bandwidth profile speed. |
| The browser shows a certificate warning during sign-in | The Zyxel login page presents a self-signed certificate. | See HTTPS login certificate. |
Known limits
- The setup is fully manual; the panel does not connect to the Zyxel to write settings.
- There is no mid-session disconnect (CoA).
- Redirect parameter names and login form fields can differ by firmware.
- USG FLEX H (uOS) uses a different external portal flow and is not supported yet; only USG FLEX / ATP with ZLD firmware can be added.
- There is no tunnel option for Zyxel; syslog is not collected and the access log comes from RADIUS accounting.