Adapting the filter policy for temporary account users

The filter policy described below allows temporary account users to access websites in HTTP and HTTPS with URL filtering.

Creating an SSL inspection rule

Two rules can be created in the wizard: one to decrypt HTTPS traffic and the other to direct such traffic to the SSL proxy so that it can be analyzed by URL filter rules and intrusion prevention processes.

  1. In the Filtering tab in the Configuration > Security policy > Filter - NAT module, click on New rule and select SSL inspection rule.
  2. Enter details about the source networks or hosts (From column - temporary_accounts_network in the example), the destination (To column - Internet in the example) and the destination port (HTTPS in the example). Confirm by clicking on Finish.
  3. Double click on the source of the rule that redirects to the SSL proxy. In the User field, select Any user@voucher_users.local.domain.
  4. In the Advanced properties tab, select Temporary accounts as the Authentication method.
  5. In Port / Protocol, select Application protocol for the Protocol type field, then HTTP for the Application protocol.
  6. In Inspection, select the URL filter profile to apply (URLFilter_00 in the example),
  7. Confirm by clicking on OK.

Creating a captive portal redirection rule

  1. In the Filtering tab in the Configuration > Security policy > Filter - NAT module, click on New rule and select Authentication rule.
  2. In the wizard, enter the source networks or hosts (From field - temporary_accounts_network in the example) and the destination (To field - Internet in the example) for which unauthenticated users will be redirected to the captive portal.
  3. Confirm by clicking on Finish. This rule selects the HTTP port as the default destination port.
  4. To add the HTTPS port to it, double click on the Dest. port field in this rule. In the Destination port field in the window where rules are edited, add the HTTPS port. Confirm by clicking on OK.
  5. Using the Up and Down arrows, position this rule between the SSL decryption rule and the SSL proxy redirection rule.

Adding HTTP traffic filter rules for temporary accounts

  1. In the Filtering tab in the Configuration > Security policy > Filter - NATmodule, click on New rule and select Simple rule.
  2. In the Status column, double-click on Off to enable the rule (the status of the rule becomes On).
  3. In the Action column, double-click on block then select the value pass for the Action field: Select the desired log level for connections that match this rule; log (filter log) makes it possible to view events relating to the connections of temporary accounts in connection logs, for example.
  4. In the Source section located to the left of the rule editing window, assign the following values to the various fields:

General tab

  • User: select Any user@voucher_users.local.domain.
  • Source hosts: select the temporary account network.

Advanced properties tab

  • Authentication method: select the Temporary accounts method
  1. In the Destination section, select the Internet object for the Destination hosts field
  2. In the Port / Protocol section, select the HTTP object for the Destination port field
  3. In Inspection, leave the IPS mode suggested by default and select the URL filter profile to apply (URLFilter_00 in the example), This profile can be customized in the Security policy > URL filtering menu.

The filter policy regarding temporary accounts will therefore resemble the following: