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 virtual IP

This recipe describes how to create a virtual IP address in pfSense.

Getting ready

pfSense allows for four different types of virtual IP addresses to be created:

  • Proxy ARP
  • CARP
  • Other
  • IP Alias

A common use of virtual IPs is to configure a 1:1 NAT relationship. In this scenario a virtual IP of type Other is required, which we will configure in this recipe.

How to do it...

  1. Browse to Firewall | Virtual IPs.
  2. Click the "plus" button to add a new virtual IP address.
  3. Choose Other as Type.
  4. Select the WAN as the Interface.
  5. Specify the IP Address.
  6. Add a Description.
    How to do it...
  7. Save the changes.
  8. Apply changes, if necessary.

How it works...

A virtual IP (VIP) of type ...

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