How to do it...

  1. Navigate to Services | Captive Portal.
  2. Click on the Add button.
  3. Enter a name into the Zone name edit box and a brief description into the Zone description edit box.
  4. When done, click on the Save and Continue button.
  5. When the page loads, it should default to the Configuration tab. Check the Enable Captive Portal checkbox to display other captive portal configuration options.
  6. In the Interfaces list box, select the interface(s) on which the captive portal will be enabled.
  7. Enter reasonable values in the Idle timeout and Hard timeout edit boxes.
  8. Check the Enable logout popup window checkbox so that users can explicitly log out before the idle timeout period expires.
  9. In the After authentication Redirection URL edit box, enter a redirection URL (such as www.google.com).
  10. Scroll down to the Authentication section and make sure Local User Manager/Vouchers is selected, as shown in the following screenshot:

  1. Scroll down to HTML Page Contents. For voucher authentication, we will define a custom page. In the Portal page contents section, click on the Browse button and upload a page for voucher authentication. The page must have the two following fields:
    • <input name=”auth_voucher” type=”text”>
    • <input name=”accept” type=”submit” value=”Continue”>

  1. When you are done making changes, click on the Save button.
  2. Voucher authentication is now configured, but we still need to generate voucher codes. To do this, click on the Vouchers tab, as shown in the following screenshot:

  1. Check the Enable the creation, generation and activation of rolls with vouchers checkbox to begin the voucher creation process.
  2. Click on the Save button.
  3. When the page reloads, there will be a new section at the top of the page, Voucher Rolls. Click on the Add button in this section to add a voucher roll.
  4. Enter a 16-bit number in the Roll # edit box (0-65535). This number will be found on the top of the generated voucher roll, as shown in the following screenshot:

  1. Enter the number of minutes each user is allowed per voucher code in the Minutes per ticket edit box.
  2. Enter the number of voucher codes that will be generated in the Count edit box (1-1023).
  3. You can enter a non-parsed comment in the Comment edit box.
  4. Click on the Save button when done.
  5. You will be returned to the main Voucher page. In the Voucher Rolls section, there will be a table listing all generated voucher rolls. Export the voucher roll you just created by clicking on the Export icon (a sheet of paper with an X on it) in the Action column. This will export the voucher icon as a comma-separated value (CSV) file that can be opened with a text editor or spreadsheet.
  6. Repeat steps 16 through 22 for as many voucher rolls as you wish to generate.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.174.195