Note:

Install a pfSense Firewall in Oracle Cloud Infrastructure

Introduction

Note: pfSense is not officially supported on Oracle Cloud Infrastructure by Netgate or Oracle. Contact the pfSense support team before trying this tutorial.

pfSense is a firewall that can be used for production or testing purposes where you can simulate the Oracle Cloud Infrastructure (OCI) native firewall services. This pfSense firewall set up can be used inside a hub and spoke VCN routing scenario.

image

The following image illustrates how the environment will look like when you are finished with the deployment and configuration.

image

Objectives

Prerequisites

Task 1: Download the pfSense Image

Task 2: Create an OCI Object Storage Bucket

In this task, we will create an OCI Object Storage bucket that will use to upload the pfSense image and used to create a custom image.

Task 3: Upload the pfSense Image to the Storage Bucket

Task 4: Create a Custom Image

We have uploaded the pfSense image. Now, we need to create a custom OCI image from this uploaded image. This custom OCI image will be used to create the pfSense firewall instance.

Task 5: Create an Instance with the Custom pfSense Image

Task 6: Install pfSense on the Instance

We need to do the initial installation and set up of the pfSense firewall. We already have the running instance.

Task 7: Connect to the pfSense Web Graphic User Interface (GUI) and Complete the Initial Set up

The installation is finished, now we need to connect to the web interface of the pfSense firewall. But before this, we need to open some ports on the security list of the VCN.

image

Task 8: Verify the Connectivity with Ping

image

  1. In Source Type, enter CIDR.
  2. In Source CIDR, enter 0.0.0.0/0.
  3. In IP Protocol, enter ICMP.
  4. Click Add Ingress Rules.

image

image

Acknowledgments

More Learning Resources

Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.

For product documentation, visit Oracle Help Center.