Ruijie access points
Ruijie enterprise access points (RG-AP820-L and others) connect straight to SafeNet with WiFiDog. Just the access point and internet.
Ruijie's enterprise access points have WiFiDog web authentication built in. You point them at SafeNet, and they send new guests to your SafeNet login page, let them online after they pay or enter a voucher, and check with SafeNet every minute or so. That check means SafeNet sees each guest's data usage and can cut them off the moment their time ends or you press Disconnect.
Which Ruijie devices work
| Device | Works with SafeNet directly? |
|---|---|
Ruijie enterprise access points: RG-AP820-L(V2), RG-AP820-L(V3), RG-AP840-L, RG-AP880 and other RG-AP… models | ✅ Yes, just the access point and internet |
Reyee gateway routers: RG-EG… models, with any Reyee access point | ✅ Yes, through the router's WiFiDog setting |
| Reyee access points whose firmware offers a third-party WiFiDog server (for example RG-RAP2260G; not the RG-RAP6262(G), even on ReyeeOS 2.420) | ✅ Yes, the same way as above. See Reyee with WiFiDog. |
| Reyee access points that only offer Ruijie's own login page | ✅ Yes, with Ruijie Cloud vouchers: guests buy on SafeNet and type the code on Ruijie's page. Just the access point and internet. |
Buying new? Ruijie RG-AP models (for example RG-AP820-L(V3)) give the fullest SafeNet features: live view, data usage and Disconnect. Reyee RG-RAP models work too, with fewer features when they only use Ruijie's own login page.
1. Switch it on in SafeNet
- Open your siteIn SafeNet open Sites and click Ruijie next to the site where the access point will be.
- Switch it onClick Switch on Ruijie access points. SafeNet shows the two values the access point needs:
- Authentication server URL: looks like
http://radius.safezonetz.com:5001/wifidog/Ab3xY…/(yours is on the Sites page). - Portal server IP:
209.74.72.96
- Authentication server URL: looks like
- Add packagesMake sure at least one package is sold at this site (or at "All sites") on the Packages page.
2. Set up the access point
- Plug it inConnect the access point (or its PoE adapter's LAN port) to your internet router and wait until it has started.
- Create the guest Wi-FiIn the access point's web page or in Ruijie Cloud, create your guest Wi-Fi with no password (open). Note its WLAN ID (1 for the first Wi-Fi).
- Turn on web authentication with SafeNetOpen the access point's command line (eWeb → Command Line, or SSH/Telnet) and enter the commands from the Sites page. They look like this:
Use the exactconfig web-auth template safenet ip 209.74.72.96 url http://radius.safezonetz.com:5001/wifidog/YOUR-SITE-CODE/ exit wlansec 1 web-auth portal safenet webauth end writeurlfrom your Sites page, and your Wi-Fi's WLAN ID afterwlansec. - Check it is talking to SafeNetWithin a few minutes the Sites page shows Access point last heard … min ago, and the dashboard lists it under devices.
Managed by Ruijie Cloud? Ruijie Cloud may overwrite settings made on the access point itself. Either remove the access point from Ruijie Cloud, or set the same values in Ruijie Cloud's captive portal settings (policy mode External, the authentication server URL above as the portal server URL, and the portal server IP). Firmware menus differ between models; if yours looks different, contact support with a screenshot.
Reyee with WiFiDog
Ruijie added third-party WiFiDog servers to some Reyee models' firmware (for example ReyeeOS 2.385 for the RG-RAP2260G). If yours offers it, this is the best way: it works exactly like the Ruijie access points above. In Ruijie Cloud: Captive Portal → Add, Policy Mode External, Authentication Device Reyee AP, Auth Protocol WiFiDog, Redirect URL = the authentication server URL. If the list then shows ⚠ Unsupported primary device(s), that model can't do it (the RG-RAP6262(G) can't): delete the policy at once, because the Wi-Fi is open to everyone while it's there, and use Ruijie Cloud vouchers below.
- Update the firmwareIn the access point's web page or Ruijie Cloud, update to the newest firmware for your model.
- Look for WiFiDogOpen the captive portal (authentication) settings. If you can choose a third-party WiFiDog server, enter the Authentication server URL from the Ruijie box on your Sites page, and the portal server IP if asked. Make the guest Wi-Fi open (no password).
- No WiFiDog option?Use Ruijie Cloud vouchers below instead.
Ruijie Cloud vouchers (Reyee without WiFiDog)
Setting up a new Reyee access point (RG-RAP6262…)? Follow the full Reyee guide, from the box to the first sale.
The access point keeps showing Ruijie's own voucher login page. It links to your SafeNet page, where guests pay by mobile money and get a code. SafeNet creates the same code on Ruijie Cloud straight away, so it works on Ruijie's page. Codes you generate in SafeNet for this site are copied too, so printed vouchers work as well.
- Get Ruijie Cloud API accessRuijie gives an App ID and App secret on request. Email Ruijie support (service_rj@ruijienetworks.com) or ask your Ruijie distributor, saying it is for creating vouchers from your billing system. This can take a few days.
- Create voucher packages in Ruijie CloudIn your Ruijie Cloud project, open Authentication → Voucher and create one package for each SafeNet package, with the same duration (for example 1 hour, 1 day, 7 days). Speed limits go here too.
- Connect SafeNetIn SafeNet open Sites, click Reyee next to the site, choose your Ruijie Cloud server, enter the App ID and secret and click Connect. SafeNet reads your projects and packages, and warns you about any SafeNet package without a Ruijie package of the same duration.
- Download SafeNet's login pageIn the Reyee box click Download login page (.zip). It shows your packages and mobile money, and connects guests straight after they pay. Your logo, colour and language come from Portal settings; download it again after changing them.
- Make the captive portal in Ruijie CloudAuth & Accounts → Captive Portal → Add: Policy Mode Cloud Auth, Authentication Device AP, your guest Wi-Fi as SSID (open, no password). Under Portal Page click Add Portal Page, choose Auth Mode Custom HTML, click Upload and pick the .zip file, then save.
- Allow SafeNet before loginIn the captive portal's allowlist (walled garden), add the domain shown in the Reyee box (
radius.safezonetz.com): the login page loads packages and takes payments from it. Mobile money uses a PIN prompt on the phone, so no payment website needs to be allowed. Add nothing else: allowingcaptive.apple.com,google.comorgstatic.comstops phones from opening the login page by themselves. - Prefer Ruijie's default page?Instead of the .zip, choose Auth Mode Default with Voucher login and add the Link for the Ruijie login page from the Reyee box to its text. Guests then buy on SafeNet's page and type the code on Ruijie's.
- Test itJoin the Wi-Fi with a phone, buy the cheapest package and enter your PIN. The page shows your code and connects you by itself.
What you don't get this way: Ruijie Cloud decides when time runs out, so these guests don't appear on SafeNet's Live page with data usage, and Disconnect or disabling a voucher in SafeNet doesn't reach Ruijie. Manage a guest who is online in Ruijie Cloud. If you can, use WiFiDog instead.
3. Test it
- Make a voucherIn SafeNet: Vouchers → Generate, one voucher for 1 hour.
- Join the Wi-FiYour phone opens the SafeNet login page with your logo and packages. If not, open
http://neverssl.com. - Log inEnter the voucher. The access point lets you online and shows "You're online". The session appears on the Live page with its data usage.
- Try disconnectingPress Disconnect on the Live page. The phone loses internet within about a minute.
Good to know
- The access point contacts SafeNet over the internet on port 5001. Nothing needs changing on your internet router.
- Guests' login and payment pages use secure HTTPS.
- Speed limits are set on the access point (per Wi-Fi or per user), not by SafeNet plans.
- This setup follows the open WiFiDog standard. It has been tested with a simulated access point; for your first Ruijie installation, contact SafeNet support (0615898768) so we can watch it connect.
SafeNet Setup guides