O'Reilly logo

pfSense 2 Cookbook by Matt Williamson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a NAT port forward rule

This recipe describes how to create, edit, and delete port forward rules.

Getting ready

The complexity of port forward rules can vary greatly. Every aspect of a port forward rule is detailed in the following There's More section so for the sake of simplicity. The following is an example of a typical port forward scenario. We will create a port forward rule to forward any incoming web requests (HTTP) to a computer we've configured as a web server.

How to do it...

  1. Browse to Firewall | NAT.
  2. Select the Port Forward tab.
  3. Click the "plus" button to create a new NAT port forward rule.
  4. For Destination port range, choose HTTP for the from and to drop-down boxes.
  5. For Redirect target IP specify the web server this traffic will be ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required