Captive Portal

Mettle SE has Captive Portal feature used for HTTP authentication with a web browser. Once the Captive Portal has been enabled on a local network the clients on the network will be re-directed an HTTP authentication web page before they can start browsing or check their mails.

To enable captive portal on your Mettle SE:

  1. Go to Security >> Captive Portal
  2. Check the check box which says "Enable Captive Portal"
  3. Choose the interface captive portal is to be run on. Usually this is your local network.
  4. Enter the maximum number of concurrent connections that is to be allowed
  5. Enter the idle time out in minutes. Clients will be disconnected after the time you specify.
  6. Enter the hard time out in seconds. Clients (active clients also) will be disconnected after the time you specify exceeds.
  7. Check the box to enable logout pop up window if required.
  8. Redirection URL - All clients after successful login would be redirected to the URL entered here.
  9. Concurrent logins - If enabled only most recent login per user name will be active. Subsequent logins will cause machines previously logged in with the same user name to be disconnected.
  10. MAC filtering - If disabled, no attempts will be made to ensure that the MAC address of clients stays the same while they're logged in. This is required when the MAC address of the client cannot be determined (usually because there are routers between Mettle SE and the clients). If this is enabled, RADIUS MAC authentication cannot be used.
  11. Authentication - Chose 'No Authentication', 'Local user manager' or 'RADIUS'. If RADIUS is chosen enter the RADIUS Server details below. If 'Local User Manager' is chosen manage users in the "Users" tab.
  12. Enable HTTPS login - If enabled the user information would be transmitted via an HTTPS connection.
  13. Enter the details for the HTTPS servers in the fields below.
  14. Click on 'Save' after you have finished.

Captive Portal Pass through MAC

If a pass through MAC is added to Captive portal then users logging in from this MAC address will not be taken to a portal authentication page.
  1. Select Security >> Captive Portal >> Pass-through MAC
  2. Click on the 'Add MAC Address' button
  3. Enter the MAC address
  4. Enter a description (not parsed)
  5. Click on 'Save'

Captive Portal Allowed IP address

Adding allowed IP addresses will allow IP access to/from these addresses through the captive portal without being taken to the portal page. This can be used for a web server serving images for the portal page or a DNS server on another network, for example. By specifying from addresses,
  1. Select Security >> Captive Portal >> Allowed IP Address
  2. Click on the 'Add IP Address' button to add an IP address
  3. Choose the direction either From or To
  4. Enter the IP address to be allowed
  5. Enter a description for the IP address added (not parsed)
  6. Click on 'Save'

Captive Portal Allowed Host names

  1. Select Security >> Captive Portal >> Allowed Host names
  2. Click on the 'Add Host Name' button to add a host name
  3. Choose the direction either From or To
  4. Enter the host name to be allowed
  5. Enter a description for the host name added (not parsed)
  6. Click on 'Save'
  Managing Captive Portal Users
  1. Select System >> User Manager
  2. To add an user click on the 'Add New User' button
  3. Enter the user name
  4. Enter the password
  5. Confirm the password
  6. Enter users full name (not parsed)
  7. Enter an expiry date for the user you have created by clicking on the 'Calendar' button next to the text area. If a date is not entered the account will not expire.
  8. Click on 'Save'
Captive Portal File Manager
  1. Select Security >> Captive Portal >>  File Manager
  2. Click on Add File then click Browse and then Upload to upload the file.
  3. To add another file click on the 'Add File' button
  4. To delete a file click on the inverted triangle symbol, placed before the file, and select Delete.
.JPG files uploaded in the captive portal file manager can be called in the portal page by using the html tab below:
<img src="captiveportal-test.jpg" width=... height=...>

In addition, you can also upload .php files for execution. You can pass the filename to your custom page from the initial page by using text similar to:
<a href="/captiveportal-aup.php?redirurl=$PORTAL_REDIRURL$">Acceptable usage policy</a>

The total size limit for all files is 256 KB.