Applies To: Cloud-managed Fireboxes
Static NAT (SNAT), also known as port forwarding, is a port-to-host NAT. Static NAT actions define forwarding rules for inbound traffic. To forward inbound traffic, use a static NAT action as the destination in an inbound policy.
A static NAT action can contain one or more forwarding rules. In each forwarding rule, you specify:
- The external network or IP address that receives the inbound traffic.
- The internal IP address the Firebox forwards the traffic to.
In the advanced settings for a rule, you can optionally configure:
- Destination port for forwarded traffic. This is known as port address translation (PAT).
- Source IP address for forwarded traffic. When the Firebox receives a connection that matches the parameters in your static NAT action, the Firebox changes the source IP address to the IP address that you specify.
Add a Static NAT Action
To add a Static NAT action, from WatchGuard Cloud:
- Select Configure > Devices.
- Select a cloud-managed Firebox.
- Click Device Configuration.
- Click the Static NAT tile.
- Click Add Static NAT.
The Add Static NAT dialog box opens.
- In the Name text box, type a name for the static NAT action.
- In the Description text box, type a description.
- To add a forwarding rule to the Static NAT action, click Add Rule.
The Add Rule page opens.
- From the External text box, select an external network name or IP address. Or, select the built-in alias Any-External.
- In the Interface IP Address text box, type the IP address you want to forward traffic to.
- To see advanced settings, click Advanced Settings.
- To enable port address translation (PAT), in the Destination Port text box, type the destination port to set in forwarded traffic.
- To set the source IP address, in the Source IP Address text box, type the source IP address to set in forwarded traffic.
- Click Save.
- To add another forwarding rule to this action, click Add Member, and complete the previous steps to define the rule.
- Click Save.
Use a Static NAT Action in a Firewall Policy
After you configure a static NAT action, you can use it as the destination in an inbound policy. The policy uses the rules in the static NAT action to forward traffic to internal destinations.
You can add only one static NAT action as a policy destination.
To add a static NAT action as a policy destination:
- Edit the inbound firewall policy.
- In the Source and Destination settings of the policy, click Add Destination.
- From the Type drop-down list, select Static NAT.
- Select the static NAT action to use for this policy.
- Click Add.
- Configure other policy settings, and click Save.