Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Barracuda CloudGen Firewall 10
Results will update as you type.
  • Deployment
  • Get Started
  • Network
  • High Availability
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
  • Assigned Services
  • Services
    • Access Control Service
    • DHCP
    • DNS
    • Dynamic Routing Protocols (OSPF/RIP/BGP)
    • Firewall
      • Forwarding Firewall
        • Default Forwarding Firewall Rules
        • Understanding Access Rules, Application Rules, and Policy Profiles
        • Access Rules
          • How to Edit, Copy, Clone, Deactivate, or Delete Access Rules
          • How to Create a Pass Access Rule
          • How to Create a Block Access Rule
          • How to Create a Deny Access Rule
          • How to Create an App Redirect Access Rule
          • How to Create a Map Access Rule
          • How to Create a Broad-Multicast Access Rule
          • How to Create IPv6 Access Rules
          • How to Create Cascade and Cascade Back Access Rules
          • How to Create and Activate a Dynamic Access Rule
          • How to Create Bi-Directional Access Rules
          • How to Create New Rule Lists
          • Firewall Rule Tester and Test Reports
          • Advanced Access Rule Settings
          • How to Configure a Transparent Redirect
          • Example - How to Enable Management Access From the Internet
          • How to Create a Destination NAT Access Rule
        • Policy Profiles
        • Firewall Objects
        • Application Control
        • TLS Inspection in the Firewall
        • Virus Scanning and ATP in the Firewall
        • URL Filtering in the Firewall
        • File Content Filtering in the Firewall
        • Mail Security in the Firewall
        • User Agent Filtering in the Firewall
        • How to Enforce SafeSearch in the Firewall
        • How to Configure Google Accounts Filtering in the Firewall
        • How to Block Search Terms using a Custom Application Object
        • How to Configure Custom Block Pages and Texts
        • Botnet and Spyware Protection in the Firewall
        • Intrusion Prevention System (IPS)
        • Traffic Shaping
        • Bridging
        • Firewall Plugin Modules
        • Firewall Authentication and Guest Access
        • How to Configure ICMP Settings
        • How to Configure IPv6 Header Settings
      • Host Firewall
      • Firewall Settings
    • HTTP Proxy
    • SIP Proxy
    • URL Filter
    • Virus Scanner
    • VPN
    • Wi-Fi
    • CloudGen Access Proxy
    • Edge Computing
  • Automated Critical Updates
  • Firewall Control Center
  • Barracuda Secure Connector
  • Best Practice
  • Implementation Guides
  • Monitoring and Reporting
  • Maintenance
  • Remote Access Clients
  • Management Interfaces, Tools, and Apps

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    How to Create a Destination NAT Access Rule
    Published Jan 09

    How to Create a Destination NAT Access Rule

    Subscribe

    A Dst NAT access rule redirects traffic that is sent to an external IP address to a destination in the internal network. The following example shows a Dst NAT rule allowing HTTP and HTTPS access from the Internet to a server in the DMZ (172.16.0.10). The redirect target can be a single IP address or hostname, or a network object. Hostnames and IP addresses can be appended with a port number to redirect the traffic to a different port.

    fw_dnat_r.png

    Create a Dst NAT Access Rule

    1. Go to CONFIGURATION > Configuration Tree > Box > Assigned Services > Firewall > Forwarding Rules.

    2. Click Lock.

    3. Either click the plus icon (+) in the top right of the ruleset, or right-click the ruleset and select New > Rule.

    click_add.png
    1. Select Dst NAT as the action.

    2. Enter a Name for the rule. For example, Internet-2-DMZ-HTTPS-Server.

    3. Specify the following settings that must be matched by the traffic to be handled by the access rule:

      • Source – The source addresses of the traffic.

      • Destination – The destination addresses of the traffic.

      • Service – Select a service object, or select Any for this rule to match for all services.

      • Target List – The redirection target. You have the following options to define the target:

        • Enter one IP address with or without a specific port. If you append a port to the IP address, the firewall maps the external port to that of the internal server (port 80 to port 8080). For example, 172.16.0.10 or 172.16.0.10:8080.

        • Enter a space-delimited list of up to 32 IP addresses.

        • Click the Reference check box, and select a network object from the drop-down list that appears. If the network object contains multiple IP addresses, only the first IP address is used.

      • Fallback/Cycle – If you have defined multiple target IP addresses, select how the firewall distributes the traffic between the IP addresses.

        This option is not selectable when a reference is defined as the redirection target. If failover or cycle is desired, you must configure the target without reference.

        • Fallback – The connection is redirected to the first available IP address in the list. This option prioritizes TCP sessions.

        • Cycle – New incoming TCP connections are distributed evenly over the available IP addresses in the list on a per-source-IP-address basis. The same redirection target is used for all subsequent connections of the source IP address. New TCP connections and new UDP sessions are distributed evenly.

      • List of Critical Ports – Enter a space-delimited list of ports used. By default, the available/unavailable policy considers all ports of the allowed rule services. If a connection to such a port fails, the target is marked unavailable and the rest of the targets are used as the new list. If there are entries in the critical ports list, only failed connections to these ports lead to a state change of the respective target from available to unavailable.

      • Connection Method – For more information, see Connection Objects.

    4. Click OK.

    5. Drag and drop the access rule so that it is the first rule that matches the traffic that you want it to forward. Ensure that the rule is located above the BLOCKALL rule; rules located below the BLOCKALL rule are never executed.

    6. Click Send Changes and Activate.

    Additional Matching Criteria

    • Authenticated User – For more information, see User Objects.

    • Connection Method – For more information, see Connection Objects.

    Additional Policies

    • Policies / NAT – For more information, see Policy Profiles.

    • Schedule – For more information, see Schedule Objects.

    • QoS Band (Fwd) or QoS Band (Reply) – For more information, see Traffic Shaping.


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 28, "requestCorrelationId": "91277dd65e574eaa8d5bb307232d11d1"}