Search Our Database
How to Set Up 1:1 NAT and Port Forwarding in pfSense
Introduction
pfSense is a robust open-source firewall and routing software. Setting up 1:1 NAT (Network Address Translation) and Port Forwarding in pfSense allows you to securely route incoming internet traffic directly to specific internal servers. 1:1 NAT maps a single public IP address to a single private IP, which is ideal for dedicated servers. Meanwhile, port forwarding directs traffic from a specific port on your public IP to a designated internal machine. This configuration is essential for administrators who need to expose internal services to the public internet anytime while maintaining a highly secure local network environment.
Prerequisite
- Access to the pfSense webGUI with Admin privileges.
- Basic knowledge of your network’s internal private IP addresses and available public IP addresses.
- The specific port numbers required for your application to function properly.
Step-by-step Guide
Method 1: Configure 1:1 NAT
- Use this method if you need to map an entire dedicated public IP address to a single internal private IP address.

Note: The above diagram is only applicable throughout Method 1.
Method 2: Configure Port Forwarding
- Use this method to forward traffic from a specific port on your public IP to a specific port on an internal device, as shown in the network diagram below.

Note: The above diagram is only applicable throughout Method 2.
Conclusion
By following this guidance, you can successfully configure 1:1 NAT and Port Forwarding in pfSense to ensure your internal servers are securely accessible from the internet. Proper configuration ensures seamless external access while keeping your local network protected.
For additional assistance or if you encounter any issues, please contact our support team at support@ipserverone.com.









