Creating an outbound NAT rule

This recipe describes how to create an outbound NAT rule.

Getting ready

An outbound NAT rule defines how traffic leaving a network will be translated. This can be a difficult concept to grasp at first since most general networking scenarios are only concerned with where network packets are headed, not what they look like when they leave.

This recipe will describe how to use an outbound NAT rule to solve a common scenario which involves NATing to a single machine with multiple interfaces. We will assume that we have a single destination server with two interfaces—LAN and DMZ, and our pfSense firewall is protecting both interfaces. Using a regular old port-forward rule, we forward HTTP requests to the server on its DMZ ...

Get pfSense 2 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.