Example 3 – setting up a personal web server

Usually, the Destination port range and Redirect target port are the same, but there are some cases where we might want to redirect incoming traffic to a different port. For example, we might want to run a web server for our own personal use. For example, we might be running the web front end for MythTV (a Linux-based open source PVR application), and we may want to access it from the internet.

There is a good chance that our ISP blocks port 80 and port 443 traffic (the default ports for HTTP and HTTPS respectively); therefore, if we want to run a web server on our home connection, we would have to use a different port:

  1. Navigate to Firewall | NAT. Again, we don’t have to click on Port Forward ...

Get Mastering pfSense now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.