Administrator Manual
Download Gateway Config Files

By using this option, it is possible to download a .zip file containing all the files necessary to configure an HGW, PAEGW or a PGW based on MikroTik RouterOS or Ubiquiti UniFi Controller.

This function is available only if the user has related permissions.

For further information on how uploading the configuration on gateways, please refer to the pdf manual included among the downloaded files.

Mikrotik Gateway Type

For the HGWs and PAEGWs, it will download:

  • A pdf file with the instructions for the uploading in the gateway.
  • A rsc file containing the entire configuration of the HGW or PAEGW necessary for the interfacing with HSNM. This file can be copied inside the router MikroTik and imported.
  • A folder named “hotspot” that contains all the files (modified on purpose for HSNM) necessary to manage the login/logout. This folder will be overwritten, via FTP, to the default hotspot folder present in the MikroTik appliances and compatible devices based on RouterOS by MikroTik that have the hotspot service active.

For the PGWs, it will download:

  • A pdf file with the instructions for the uploading in the gateway.
  • A rsc file containing the entire configuration of the PGW necessary for the interfacing with HSNM. This file can be copied inside the router MikroTik and imported.
  • A folder named “hotspot” that contains all the files (modified on purpose for HSNM) necessary to manage the login/logout. This folder will be overwritten, via FTP, to the default hotspot folder present in the MikroTik appliances and compatible devices based on RouterOS by MikroTik that have the hotspot service active.
  • The file roundrobindomains.txt containing the configured round robin hosts. It has to be copied in the main folder of the gateway.

Warning! If you use a router MikroTik “hEX” series, the files must be copied inside the flash folder.

Ubiquiti UniFi Controller Gateway Type

I twill download:

  • A pdf document with the instructions for the uploading in the gateway
  • The index.html file
  • The authorize.html file

The index.html file and authorize.html file must be copied in the folder of the UniFi Controller. The path changes according to the operating system in which the controller will be installed. They are usually the following:

  • On Windows: C:\Users\<UserName>\Ubiquiti UniFi\data\sites\default\app-unifi-hotspot-portal
  • On MAC: ~/Library/Application Support/UniFi/data/sites/default/app-unifi-hotspot-portal
  • On Linux: /usr/lib/unifi/data/sites/default/app-unifi-hotspot-portal
  • On CloudKey: /srv/unifi/data/sites/default/app-unifi-hotspot-portal