How to configure pfsense port forwarding

The image contains the pfsense nat page and all the steps to configure pfsense port forwarding

Pfsense port forwarding is a mechanism used to make computers that are behind network address translation (NAT) accessible to anyone on the Internet. To clarify, the port forward is port that you configure on the pfsense firewall with information if a user tries to contact a computer on the network with the port you configured on port forwarding, to send the user to the correct computer listening on the port.


How to create port forwarding in pfsense via webGUI

Go to firewall, then click NAT.

Select the port forward tab, then click Add.

Usually you will need to configure port forwarding on the WAN interface.

Select the protocol: TCP, UDP or both.

In the destination, choose WAN address.

To setup port forwarding for a web server, select http

The Redirect target IP is where the web server is running, enter the local IP address of the computer you want to give access to.

The Redirect target port can be any port that you configure your application to listen on, but it’s easier to understand if you leave the same port, in this case choose http.

Enter something in the description to help you understand what this NAT port forwarding does.

When finished, click on Save.

Click on apply changes


Note: If you want to add a layer of security to allow the IP address that can access this NAT port, add the information in the source.


Video to show you how to setup pfsense NAT port forward


What To Read Next


If you like the content of this post or if it has been useful to you, please consider sharing it on your social media and follow me on Facebook and Twitter for more exclusive content.