How to portforward a server
In the NAT section, check the box for Use Network Address Translation (NAT).In the Source section, select the radio button for Standard networks: and make sure the drop down menu shows Any.In any case, please login and then navigate to Firewall->Firewall Rules.Ĭlicking the New rule button will take you to a blank Firewall Rules screen. If you have OpenVPN configured according to OpenVPN on IPFire for Road Warriors then you can access your firewall over the GREEN network at. Remember that this runs on port 444 by default. To begin, log into the IPFire web interface. You will want to substitute the appropriate ip addresses and ports for your network / server configuration. The TestInt Server is currently running varnish as a web accelerator on port 80 in front of the nginx web server running on port 8080. The TestInt Server is attached to the GREEN network and has an internal IP address of 172.16.1.10. The GREEN / Private IP address is 172.16.1.1. The IPFire Server in this example has a RED / Public IP address of 162.254.27.246 which also can be accessed via the hostname:. Here is an example network layout in the DCD. This tutorial assumes you have access to a running IPFire firewall configured to protect an internal network containing at least one server providing http service on port 80.
#How to portforward a server how to#
This tutorial will demonstrate how to access a web server running on an internal server.
Once we have IPFire running, we want to access some services provided by servers behind the firewall. This tutorial is a follow up for the Install IPFire Linux Firewall tutorial.