<body class="help">
  
  <p>Access rules manage network traffic passing through the firewall.<br><br>
  For more information on access rules, visit <b>Barracuda Campus</b>.
  </p>

  <h3 class="help">General Access Rule Settings</h4>

  <ul>
    <li>
      <b>Action</b> &mdash; Specifies how the firewall handles network traffic that matches the criteria of the rule:

      <ul>
        <li><b>Pass</b> &mdash; Pass all matching network traffic.</li>

        <li><b>Block</b> &mdash; Silently ignore all network traffic that matches the access rule.</li>

        <li><b>Deny</b> &mdash; Actively deny all network traffic that matches the access rule. Matching network sessions are terminated by replying <b>TCP-RST</b> for TCP requests, <b>ICMP Port Unreachable</b> for UDP requests, or <b>ICMP Denied by Filter</b> for other IP protocols.</li>

        <li><b>Dst NAT</b> &mdash; Forward all network traffic matching this rule to the destination IP addresses added to the <b>Redirect</b> list. Destination IP addresses can be in the following format: <IP_ADRESS>:PORT_NUMBER e.g., 172.16.0.1:8080.
			</br>
			Enable <b>Balancing</b> if multiple destination IP addresses are entered:
			</br>
			<ul>
				<li><b>Fallback</b> &mdash; All traffic is forwarded to the first IP address in the list. If the first IP address becomes unavailable, the second IP address in the list is used, etc ...  </li>
				<li><b>Cycle</b> &mdash; The destination IP addresses are used sequentially based on the source IP address of the connection.</li>
				<li><b>ARP</b> &mdash; Enable if the firewall should answer ARP requests for the destination IP addresses.</li>
			</ul>
			<p>
			<info>Only TCP Traffic can be balanced. UDP traffic is always sent to the first IP address in the list.</info>
			</p>
		</li>
	  </ul>
	<ul>
        <li><b>Redirect to Service</b> &mdash; Redirect the traffic to one of the services running on the firewall: Caching DNS, DNS, SIP, Proxy, NTP, SNMP, VPN, SSL VPN, and Guest Ticketing</li>
      </ul>
    </li>

    <li><b>Name</b> &mdash; A unique name for the rule. The name can be up to 30 alphanumeric characters long. Hyphens are allowed. Spaces and other special characters are not allowed.</li>

    <li><b>Description</b> &mdash; An optional description for the rule. The description may contain alphanumeric characters and any of
    the following special characters: space, underscore, hyphen, period, plus sign &#40;<b>&#43;</b>&#41; and comma.</li>

    <li>
      <b>Connection</b> &mdash; Defines the source IP addresses of the connection after passing through the firewall. Choose one of the predefined or custom connection objects from the list:
	  	<ul>
      <li>
      <b>Create New</b> &mdash; Create a new custom connection object. You must create a custom connection object for outgoing link&ndash;loadbalancing or failover.</li>
      <li>
      <b>Dynamic NAT</b> &mdash; The connection is established with the source IP address determined by a routing table lookup.</li>
      <li>
      <b>Original Source IP</b> &mdash; The source IP address is not changed.</li>
      <li>
      <b>Translated IP from DSL Interface</b> &mdash; The connection is established with the IP address of the DHCP interface.</li>
      <li>
      <b>Translated IP from WWAN Interface</b> &mdash; The connection is established with the IP address of the WWAN interface.</li>
    </ul>

    <li><b>Adjust Bandwidth</b> &mdash; Choose the bandwidth policy for this access rule. <b>Bandwidth Management</b> must be enabled for the outgoing interface &#40;<b>NETWORK &gt; IP Configuration</b>&#41;. Traffic is only prioritized when the link is saturated.</li>
		Select one of the eight bandwidth policies: 
		<ul>
			<li><b>Interactive</b> &mdash; Traffic bypasses traffic shaping and is sent without any delay.</li>
			<li><b>VOIP</b> &mdash; Highest priority.</li>
			<li><b>Business</b> &mdash; Very high priority.</li>
			<li><b>Internet</b> &mdash; Medium priority. If more than 10 MB data is transferred in one connection, the priority of the traffic in that sessions drops to class 3 in the rate limiting queue.</li>
			<li><b>Background</b> &mdash; Next lower priority.</li>
			<li><b>Low</b> &mdash; Low priority. Low and Lowest Priority are limited to 5% of the available bandwidth.</li>
			<li><b>Lowest Priority</b> &mdash; Lowest priority. Low and Lowest Priority are limited to 5% of the available bandwidth.</li>
			<li><b>Choke</b> &mdash; Applications assigned this are unusable, but will not seek another way to send traffic.</li>
		</ul>	
    </li>
	
	<li><b>Bi&ndash;directional</b> &mdash; If selected, source and destination networks are used interchangeably. This option is only available for <b>Allow</b> rules.</li>
	
	<li><b>Disable</b> &mdash; Set to <b>yes</b> to deactivate the rule. Disabled rules are not be processed by the Firewall.</li>
	
    <li><b>IPS</b> &mdash; Analyze traffic matching this rule by Intrusion Prevention System &#40;IPS&#41; to detect malicious network traffic. The IPS can be configured to enforce or only report security threats. Configure the IPS on the <b>FIREWALL &gt; Intrusion Prevention</b> page. Detected threats are on the <b>BASIC &gt; Recent Threats</b> page.</li>
	
	<li><b>Layer 7 Application Control</b> &mdash; Enable Layer 7 Application Control for this rule to evaluate and manage application traffic. Create application rules in <b>FIREWALL > Application Policies</b> to adjust bandwidth, block or otherwise restrict &#40;time, user,...&#41; applications.</li>
		<ul>
		<li><b>SSL Interception</b> &mdash; Decrypt and encrypt SSL connections to enable Application Control to detect application traffic. Install the root certificate on all clients behind the firewall to avoid SSL error notifications when users access HTTPS websites.</li>
		<li><b>URL filter service</b> &mdash; Use the URL filter service to block undesired website categories. You must create URL Policy Objects to filter websites based on their category. A Barracuda Web Security Subscription is required.</li>
		<li><b>Virus Scanner</b> &mdash; Traffic matching this rule is scanned for viruses. A Barracuda Web Security Subscription is required.</li>
		<ul>
		<li><b>ATP</b> &mdash; Enable Advanced Threat Protection &#40;ATP&#41; for in-depth scanning of HTTP, HTTPS, FTP, SMTP and SMTPS traffic. ATP must be globally enabled on the <b>FIREWALL &gt; Settings</b> page.</li>
		</ul>
		<li><b>Mail Security</b> &mdash; Classify incoming email according to the DNS Blacklist configured in the Firewall Settings.</li>
		<li><b>Safe Search</b> &mdash; Enable Safe Search to protect users behind the firewall from undesired content in search results. Safe Search supports Google, Bing, Yahoo and YouTube search engines. Safe search does not work for mobile search apps.</li>
		</ul>
  </ul>
<p>
 
</p>
  <h4 class="help"><a name="Source"></a>Source</h4>

  <p>Source IP address&frasl;netmask of the connection that is affected by the rule. You can specify one or more IP addresses and subnets
  in CIDR format &#40;e.g., 1.2.3.0/24&#41; , <b>network objects</b> defined on the <b>FIREWALL &gt; Network Objects</b> page, or
  <b>Geo Location</b>. Type an IP address, select a network or geo location object, then click <b>Plus &#40;&#43;&#41;</b>. The list of chosen
  IP addresses, subnets, network objects, and geo location objects is displayed below the data entry box. Click <b>Minus &#40;&ndash;&#41;</b> next
  to an entry to remove it.</p>

  <h4 class="help"><a name="Network Services"></a>Network Services</h4>

  <p>Service objects describe the protocol and port&frasl;port range of the matching traffic. Service objects defined in <b>FIREWALL &gt;
  Service Objects</b> are listed in the column on the right. Select a service object, then click <b>Plus &#40;&#43;&#41;</b> to add it to your
  rule. You can add multiple service objects.</p><a name="Source" id="Source"></a>

  <h4 class="help"><a name="Destination" id="Destination"></a>Destination</h4>
  <p>Destination IP address&frasl;netmask of the connection that is affected by the rule. You can specify one or more IP addresses and subnets in CIDR format &#40;e.g., 1.2.3.0/24&#41;, <b>network objects</b> or <b>Geo Location</b> objects. Type an IP address, select a network or geo location object, then click <b>Plus &#40;&#43;&#41;</b>.<br>
  The list of chosen IP addresses, subnets, network objects and geo location objects is displayed below the data entry box. Click
  <b>Minus &#40;&ndash;&#41;</b> next to an entry to remove it.</p>
 
<h3 class="help"><a name="Other"></a>Advanced Access Rule Settings</h3>

  <a name="Users"> </a><h4 class="help">Valid for Users</h4>
  <p> To limit this access rule to a specific user or user group, add one or more user object from the list and click &#40;<b>&#43;</b>&#41;. If no user objects are added, the user information associated with the session is not used as a matching criteria.<br>
  User objects are defined on the <b>FIREWALL &gt; User Objects</b> page.
</p>

  <a name="Apply only during this time"></a><h4 class="help">Apply Only During This Time</h4>

  <p>Default value is <b>None</b>. You may select a schedule here that has previously been defined on the <b>FIREWALL &gt; Schedules</b> page. If a schedule is specified, the access rule will be executed only during the time specified.</p>

  <a name="Denial of service and spoofing protection"></a><h4 class="help">Denial Of Service and Spoofing Protection</h4>

  <ul>
    <li><b>Interface Group</b> &mdash; Choose an interface group as configured on the <b>NETWORK &gt; Interface Groups</b> page. Select
    <b>Any</b> to match all interfaces.</li>

    <li><b>SYN Flood Protection</b> &mdash; The behavior of the firewall regarding the TCP three&ndash;way handshake. When protection is
    turned on, the firewall completes the handshake and only then performs a handshake with the actual target. <b>Automatic</b>
    detects SYN flood attacks when a threshold is exceeded and then protects the system against them. The threshold is 20% of the
    maximum sessions&frasl;requests supported by the firewall. <b>Always On</b> means that protection is always on. This is
    more resource&ndash;intensive and could cause session flow issues.</li>
	
    <li><b>Maximum Sessions</b> &mdash; If set to <b>0</b>, the number of allowed sessions allowed for this rule is unlimited. Otherwise, sessions exceeding this limit are blocked.</li>
    <li><b>Maximum Sessions per Source</b> &mdash; If set to <b>0</b>, the number of allowed sessions per source IP allowed for this rule is unlimited. Otherwise, additional sessions from the same source IP exceeding this limit are blocked. This setting can be used to prevent Denial of Service &#40;DoS&#41; attacks against a specific server.</li>
  </ul>
   
<a name="Other"></a><h4 class="help">Other</h4>

 <ul>
 <li><b>Transparent Redirect</b> &mdash; Enable to transparently forward traffic to the destination without changing the header info.</li>
 <li><b>Google Accounts</b> &mdash; Enable to only allow access to google services using one of the whitelisted domains. Whitelisted Google domains are configured in the Firewall settings. Private Google accounts using the gmail.com domain are always blocked when this option is enabled. 
     <info>Go to <b>FIREWALL &gt; Settings</b> to enter the YouTube for Schools token you received from YouTube.<info></li>
 </ul>
  
<a name="Other"></a><h4 class="help">Expert Settings</h4>
<p>Append <b>&amp;expert=1</b> to the URL before creating an access rule to configure the expert settings.</p>
  <ul>
  <li><b>Clear Don&rsquo;t Fragment Bit</b> &mdash; The Don&rsquo;t Fragment bit determines whether a TCP packet can be fragmented or not. In networks where packet size is limited to an MTU, packet fragmentation may become vital when packets sent to this network exceed the MTU &#40;for example, as may frequently occur with SAP applications&#41;.
  <br><br>
  Because the firewall cannot override the DF bit setting, fragmentation is up to the client. When the DF bit is set and the target network MTU specification requires fragmentation, the firewall responds with an ICMP Destination Unreachable message &#40;Code 4: Packet too large. Fragmentation required but DF bit in the IP header is set&#41;. If the client does not understand the answer code, data transmission fails and data loss may occur if packet sizes exceed the MTU of the network.
  Before enabling this setting, consider the following points:
	<ul>
		<li>The fragmentation and packet reassembling process might lead to significant performance loss at high traffic rates.</li>
		<li>The maximum segment size &#40;MSS&#41; is automatically decreased as necessary when traffic is routed through the respective VPN.</li>
		<li>Encapsulating packets reduces the available MTU size. The DF bit is automatically cleared from traffic, which is forwarded towards a VPN interface.</li>
		<li>Only enable this setting when experiencing transport problems that are clearly associated with packet size restrictions.</li>
	</ul>
  To clear the DF bit from the IP header and fragment packets if necessary regardless of the setting in the packet&rsquo;s IP header, select <b>Yes</b>. By default, this setting is disabled.</li>
  <li><b>Block ICMP Messages</b> &mdash; Block ICMP messages matching this access rule.</li>
  <li><b>Log Session State Changes</b> &mdash; Create a log entry per state change for sessions matching this access rule.
	<p>
	<warning>Enabling this option produces excessive amounts of log data.</warning>
	</p>
	</li>
  <li><b>Force Maximum Segment Size &#40;MSS&#41;</b> &mdash; Checks the SYN and SYN&ndash;ACK TCP packets for an MSS that is larger than the configured MSS. If the MSS TCP attribute is smaller, the packet is rewritten with the configured MSS. Use this feature for VPNs to force a TCP MSS that fits the MTU of the VPN tunnel device. For IPv4, the maximum transmission size must be at least 40 bytes smaller than the MTU.</li>
  </ul>
  
</body>
