c). configure hotspot instance

HotSpot instance configuration defines how mbox hotspot access controller handles user traffic when it comes into HSG. We can configure different instances for different networks (or different SSID), to control different accesses, and enforce different user experiences etc. Each instance works like a virtual hotspot access controller.

There are a few key concepts we need to understand:

In below diagram:

CONFIGURE HOTSPOT INSTANCE

mbox HotSpot instance configurations are done using CLI, through local console, or SSH. User related information, eg. UAM/RADIUS and portals/CMS configurations are configured through mbox GUI, these settings are covered in separate sections.

To configure instance settings, please follow below guides.

mbox# configurembox(config)# security hotspot <LANIF>Info: Client gateway is 172.16.10.1Info: Client network is 172.16.10.0Info: Client netmask is 255.255.255.0.....

Within each LANIF instance, below are compulsory commands:

If key <portalkey> is specified, it must match the same pre-shared key set on the CMS portal setting. Refer to hotspot portal config for details.

NOTE: if the portal contents are hosted locally within HSG, we need to configure DNS rewrite (see DNS rewrite), so that the <portalurl> is resolved back to HSG local loopback address. If the <portalurl> is externally hosted, it's important to make sure the URL is accessible and is added into bypass-dst/whitelist list.

NOTE: when we use external RADIUS server, we must define HSG IP as RADIUS client (or NAS) on the remote server with the same radiuskey. This setting is instance specific, eg. we can configure different RADIUS server for different hotspot instances if needed.

Below are important optional commands (if not configured, default settings apply).

NOTE: if HSG is also used as a perimeter gateway that needs to perform NAT/PAT, you will configure SNAT (firewall-snat xx overload outbound <WANIF>)

NOTE: When hotspot service is started for a instance, HSG will remove the LANIF IP address and create a virtual tunnel interface which binds to the LANIF IP address (or hotspot-server IP); when hotspot service is stopped, the tunnel interface will be removed and HSG will add the original IP address back LANIF.

NOTE: unlike normal firewall-access rules (which has an implicit deny-all), there's an implicit permit-all within each hotspot instance.

Below is an example of blocking email and ftp access and permit everything else.

!hotspot-access 10 deny tcp dport 20 hotspot-access 11 deny tcp dport 21 hotspot-access 12 deny tcp dport 110 hotspot-access 13 deny tcp dport 25!

NOTE: this command is compulsory if you have clients pre-configured with static IP (eg. other 3rd-party wireless controller IP), so that the range here will exclude the static clients. In addition, you will use client-static command to identify the static clients.

NOTE: this command must be used together with client-static command, since we're now using external DHCP server to assign clients IP.

Below are optional commands. These settings can be configured via RADIUS (under the "Access info" tab, under username or profile). 

NOTE: CLI settings are "global" within each instance, If both CLI and RADIUS are configured, RADIUS setting will over-write CLI settings.