Example – mapping a file server

Assume that we have a file server that must be accessible from the internet. We have a public IP address, which we obtained from our ISP. We follow this procedure:

  1. Navigate to Firewall | NAT, and click on the 1:1 tab. On the 1:1 page, click on one of the Add buttons.
  2. On the Edit page, add the External subnet IP, which in this case would be just a single IP address.
  3. For Internal IP, select Single host in the drop-down box and enter the internal IP address. Click on the Save button when you are done. Click on Apply Changes on the 1:1 page.

This procedure can be used to map a single external IP address to a single internal IP address, or you could map a block of IP addresses by using the external block’s subnet ...

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.