Many companies do not have a subnet with external IP addresses available. All computers are in a private network and are connected behind the IP of the router. Port forwarding is used to forward requests on specific ports directed to the router's public IP to the internal server so that it can be reached from the Internet.
Network objects and services only need to be created if they do not already exist on the firewall in the form described here.
Objective: To make an internal server accessible from the Internet.
Configuration of the appliance
Create network object
For simple port forwarding, the server must first be created as a network object. This must be done by clicking on Firewall Network Objects button Add object.
The target must be a network object of type Host with an IP address, otherwise the rule may have no effect.
Address:
192.168.176.11/---
Enter IP address of the server
Zone:
dmz0
The internal zone in which the server is located must be selected here. In the example dmz0.
Save and close
Save the network object and close the dialog.
Create firewall rules
A firewall rule with destination NAT must be created so that external users can now also access the server.
This must be done by clicking Firewall Packetfilter button Add Rule. The rule must then be created as follows:
General
Source:
Internet
Allows the Internet as the source of the data packet