This article is a quick reminder (for myself) on how to properly configure port forwarding on a Dell Sonicwall firewall.
First, create the address and services objects you need for the port forwarding. In case of multiple addresses or services, create a group and add all objects in that group.
Address object for a local server
Service group with multiple services
Predefined objects, such as the WAN IP are already present and do not have to be created again. Also, the advantage of using these predefined objects is that they are dynamic: e.g. if the WAN IP changes, the policies and rules that use this object will not have to be changed.
Once the objects are in place, they can be referenced from the NAT policies.
NAT policies define the actual port forwarding. For a port forwarding to work properly, there are 3 policies that have to be defined:
Create the policies like so, referencing the objects you've created earlier.
Inbound policy
Outbound policy
Loopback policy
With the NAT policies in place, you still have to configure the required firewall rule to allow traffic to pass through the firewall. Set the destination address object to the WAN IP address, as it will be enough to accept the traffic for the services on the WAN IP of your firewall. Once the traffic is on the firewall, the NAT policies will do the rest.
You may also have to create an outgoing firewall rule to allow traffic from the computer behind the firewall to WAN. In this case, the source address will be the internal address object of your computer.
« ‹ | November 2024 | › » | ||||
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |