Description:

Many applications require access from the Internet to resources on a local network, such as a web or mail server. This can be achieved with port forwarding.

This article describes how to set up port forwarding on a Unified Firewall.


Requirements:


Scenario:

1) The Unified Firewall is directly connected to the Internet


2) The router upstream from the Unified Firewall establishes the Internet connection

This scenario also includes the “parallel” solution as described in this article.


Procedure:

The setups for scenarios 1 and 2 are basically the same. For scenario 2, you additionally have to set up port forwarding on the upstream router.


1) Setting up port forwarding on the Unified Firewall (scenarios 1 and 2):

1.1) Open the configuration of the Unified Firewall in a browser and click on the icon to create a host.

1.2) Modify the following parameters and then click Create:

1.3) On the Host, click on the "connection” icon and connect it to the Internet object.

1.4) From the list of protocols, select the protocol required for port forwarding and add this using the "+" icon (in this example, the web server should be reached by HTTPS).

1.5) Click twice on the arrow under Action till it points to the left to allow incoming traffic for port forwarding.

Then click on the "pencil" icon under Edit to adjust further settings.

1.6) Change to the tab Advanced, select the option Use Service Specific Settings and set a checkmark for Enable DMZ / port forwarding for this service. Click OK afterwards.

If you have multiple public IP addresses which are configured in the Unified Firewall, you can specify one of the addresses under External IP address. Port forwarding only takes effect when this IP address is contacted. This setting is only practicable for scenario 1.

If the port forwarding should be directed to a different port, you can specify this under Destination port. For example, access from the Internet on port 443 can be forwarded internally by the Unified Firewall to port 6443. Note that you have to store an object that arrives at the Unified Firewall from the outside and that contains the service/port. This can then be converted to the value under Destination port. In the opposite case (converting port 6443 to port 443), a user-defined object has to be set up with port forwarding for port 6443. The Destination port entry then forwards this to port 443. This setting can be used for scenarios 1 and 2.

1.7) Click Create to generate the firewall rule.

1.8) Finally, implement the configuration changes by clicking Activate.

1.9) This concludes the configuration of the United Firewall.



2) Setting up port forwarding on an upstream LANCOM router (scenario 2 only):

If you are using a router from another manufacturer, approach them for information about the appropriate procedure.

2.1) Open the configuration for the LANCOM router in LANconfig and switch to the menu item IP Router → Masq. → Port forwarding table.

2.2) Create a new entry and adjust the following parameters:

2.3) This concludes the configuration of the router. Write the configuration back to the router.