# Advanced Policy Settings Configuration

You can specify additional optional settings and parameters when configuring a policy.

### To Set Advanced Policy Options

1. Enter the necessary information:

NAT (Network Address Translation): You can select Source Translation or Destination Translation or both simultaneously. (Source and destination translation are not mutually exclusive.)

Source Translation: To apply source network address translation (NAT-src), select Source Translation.

If you want to translate the original source IP address to an address from a Dynamic IP (DIP) pool, select a previously defined DIP pool from the DIP on drop-down list. If you want to translate the source IP address to that of the egress interface, select the first item in the drop-down list: None (Use Egress Interface IP). (For information about creating DIP pools, see Dynamic IP Address Pool Configuration.)

Destination Translation:To apply destination network address translation (NAT-dst), select DestinationTranslation.

You can translate the original destination IP address to a different IP address. To do so, select Translate to IP and enter the IP address to which you want to translate the original destination IP address. The security device can perform such one-to-one destination network address translation with or without changing the destination port numbers. To map the original destination port number in the segment header to another port number, select the Map to Port check box and enter the post-translation port number. To leave the original destination port number unaltered, do not select the Map to Port option.

You can also translate a range of original destination IP addresses to another range of IP addresses. Select the Translate to IP Range check box and enter the two IP addresses at the start and end of the post-translated IP range. ScreenOS employs an address shifting mechanism to maintain the relationships among the original range of destination addresses after translating them to the new range of addresses.

Authentication: Select this feature to require the user at the specified source address to provide authentication when the action is set to Permit or Tunnel.

Select the authentication server:

Auth Server: Select the local database or an external authentication server to authenticate users. The default database is the one that you set on the Configuation > Auth > Firewall page. A security device supports external RADIUS, SecurID and LDAP servers. Before you can select an external authentication server from the drop-down list, you must first configure it (see Auth Server Configuration).

Select the authentication users:

User Group: Select a specific user group, or select Allow Any to allowall groups configured on the authentication server to use the policy. Before you can select a user group from the drop-down list, you must first configure it on the security device (see User Group Configuration) or on the authentication server.

User: Select a specific user, Allow Any (which allows all users configured on the authentication server to use this policy), or External User. Before you can select a user from the drop-down list, you must first configure it on the security device (see User Configuration) or on the authentication server.

External User: If you select External User from the drop-down list, you must also enter the name of the external user.

Note: You can select External User only if you are using external authentication servers such as RADIUS, SecurID, and LDAP.

Group Expression: Select a specific group expression or select Allow Any,which allows all groups configured on the authentication server to use this policy. Before you can select a group expression from the drop-down list, you must first configure it on the security device (see Group Expression Configuration).

WebAuth (Local): Select this option if you want to use WebAuth as the authentication method.

Note: If you select WebAuth as the authentication method, you must also configure WebAuth interfaces. You can configure WebAuth on physical interfaces and on the VLAN1 interface (the latter when the device is in Transparent mode). For information about how to configure WebAuth interfaces, see Interface Configuration.

Redirect: Selecting WebAuth (Local) displays the redirect options. You can use the redirect options to automatically redirect the browser to the WebAuth IP address.

No Redirect: Select this option to disable the security device from redirecting the browser to the WebAuth IP address.

Redirect unauthenticated traffic: Select this option to enable the security device to automatically redirect the browser to the WebAuth IP address. WebAuth authenticates the user and allows the user to access the resource.

Infranet-Auth: Select this option if you want users to sign into the Infranet Controller for authentication. Use the captive portal You can configure the Infranet Enforcer to redirect HTTP traffic to an external Web server instead of the Infranet Controller. For example, you can redirect HTTP traffic to a Web page that explains to users the requirement to sign into the Infranet Controller before they can access the protected resource. You could also include a link to the Infranet Controller on that Web page to help users sign in.
The captive portal feature redirects HTTP traffic only. If the user attempts to access a protected resource by using HTTPS or a non-browser application (such as an email application), the Infranet Enforcer does not redirect the user’s traffic. When using HTTPS or a non-browser application, the user must manually sign into the Infranet Controller first before attempting to access the protected resource.
If there is an HTTP proxy between the endpoint and the Infranet Enforcer, the Infranet Enforcer might not redirect the HTTP traffic. feature in deployments that use either source IP-based enforcement or IPSec enforcement, or a combination of both methods:

No Redirect: Select this option to disable redirection on this policy. The security device does not redirect any traffic.

Redirect unauthenticated traffic: Select this option if your deployment uses source IP only or a combination of source IP and IPSec. The security device redirects clear-text traffic from unauthenticated users to the currently-connected Infranet Controller, or to an IP address or domain name that you specify in the redirect URL field (see Configuration > Infranet Auth > Controllers > Redirect URL).

Redirect all traffic: Select this option if your deployment uses IPSec only. The security device redirects all clear-text traffic to the currently-connected Infranet Controller, or to an IP address or domain name that you specify in the redirect URL field (see Configuration > Infranet Auth > Controllers > Redirect URL).

Note: This option does not allow clear text traffic to pass through the device protecting your network from IP spoofing. The device allows the user’s encrypted traffic to pass through.

For more information about the Infranet Controller, see the Unified Access Control Administration Guide.

Traffic Shaping: When you enable the traffic-shaping feature, all traffic that matches the traffic-shaping policy is controlled and shaped according to the policy.

Note: Traffic shaping options only appear for policies where traffic shaping can be applied (for example, for policies where there is only one interface bound to the destination zone).

The traffic shaping parameters include:

Policing Bandwidth: Enter a policing bandwidth value for the policy (in kilobits per second (Kbps). Traffic beyond this threshold is dropped at the ingress side of the security device, thus conserving throughput resources.

Ingress policing enables you to constrain the flow of traffic through the security device by limiting bandwidth on the ingress side. You do this by setting policing bandwidth, the pbw keyword, in a firewall policy to a policing bandwidth value.

Guaranteed Bandwidth: Enter a guaranteed bandwidth value for the policy (in kilobits per second [kbps]).Traffic below this threshold will be passed with highest priority without being subject to any traffic management or shaping mechanism.

Maximum Bandwidth: Enter a maximum bandwidth value for the policy (in kilobits per second [kbps]). The security device throttles and drops traffic that goes beyond this threshold.

Note: Guaranteed bandwidth and maximum bandwidth are not strictly policy-based. With multiple physical interfaces in the egress zone, bandwidth is based both on policy and on total available egress physical interface bandwidth. The physical bandwidth of every interface is allocated to the guaranteed bandwidth parameter for all traffic-shaping policies. If there is any bandwidth left over, it is sharable by any other traffic.

Traffic Priority: Select a traffic priority level for the policy. Traffic with higher priority will be passed first, and lower priority traffic is passed only if there is no other higher priority traffic for a certain period of time. There are eight priority levels.

DiffServCodepoint Marking: Differentiated Services (DiffServ) is a system for tagging (or "marking") traffic at a position within a hierarchy of priority. Selecting this option maps the eight ScreenOS priority levels to the DiffServ system. The highest priority (priority 0) maps to 111 in the DS byte (see RFC 2474) or TOS byte (see RFC 1349) in the IP packet header and the lowest priority (priority 8) maps to 000.

DSCP Value: The DSCP value of the outer IP will be overwritten with this value. The value ranges from 0 through 63

Note: We recommend that you do not use rates less than 10 Kbps. Rates below this will lead to dropped packets and excessive retries that defeat the purpose of traffic management.

Counting: Select this option to have the security device count the total number of bytes for this policy and record the information in historical graphs.

Alarm Threshold: Enter a value in bytes per second or in bytes per minute, or both. A value of 0 indicates that the alarm is disabled. You must first enable counting before you can set an alarm threshold.

Note: You can only enter integer values in the Alarm Threshold fields.

HA Session Backup: (Only on security devices that support NSRP) Select this option to enable sessions to which this policy applies to be backed up when the security device is in a high availability (HA) configuration. This option is selected by default.

Valid for Serial:(Only on security devices that support port modes) Select this option when you want the serial interface ("MODEM") to act as the dial backup interface in Trust-Untrust or Home-Work port modes (see Port Modes). This option is selected by default.

Schedule: Select a schedule if you want to enforce this policy during certain periods. Selecting None means the policy is always in effect. Before you can select a schedule from the drop-down list, you must first configure it (see Schedule Configuration).

2. Click OK to save the changes and exit the screen.

Click Return to return to the Policy Configuration screen.