Install and configure pfSense on Oracle Cloud Infrastructure

September 14, 2022 | 2 minute read
Mayank Kakani
Cloud Architect
Text Size 100%:

Beginning with the worldwide lockdowns, businesses have tried to restructure their operations to function partially or fully online while the general population has relied on the internet for shopping, work, and almost everything else. The total cost of all cybercrime damages in 2021 is expected to amount to about $6 trillion worldwide.

OCI supports diverse thinking

Oracle Cloud Infrastructure (OCI) is a modern public cloud built with layers of security architected to help protect organizations’ most sensitive and valuable data. By facing the cybersecurity skills shortage head-on and adopting cloud technologies that require minimal human intervention, organizations can encounter fewer errors and Network Firewall service in partnership with Palo Alto, our users are free to choose and run a firewall of their choice on OCI.

This blog post shows you how to set up pfSense in OCI on a virtual machine (VM). pfSense is the world’s leading open source driven firewall, router, and VPN solution for network edge and cloud secure networking.

pfSense isn’t officially supported on Oracle Cloud Infrastructure by Netgate or Oracle. If you run into trouble, we don’t offer support. Talk with the pfSense support team before trying this solution. This blog is for tech enthusiasts who can handle a few things going wrong.

About the solution

This solution uses a manual installation and isn’t a managed service. You take care of the environment yourself. For detailed steps for installing and configuring pfSense in OCI, see Install and Configure pfSense on Oracle Cloud Infrastructure. For this tutorial, I enabled public access to the pfSense firewall admin console, which isn’t a best practice. Ensure that your environment is secure.

Try it for yourself!

You can install and set up pfSense on an Oracle Cloud Compute VM yourself. You can also set up routing in OCI to route all your traffic to pfSense and set up pfSense high-availability clusters in OCI.

Oracle Cloud Infrastructure provides enterprise-grade features for developers to build modern cloud applications while supporting the open source developer tools and solutions you’re already used to. Create your Always Free subscription, which comes with US$300 credits trial credits.

Mayank Kakani

Cloud Architect


Previous Post

Unleash the analytical capabilities of API Gateway to understand your API customers

Karan Kapoor | 6 min read

Next Post


Customize columns to simplify instance management

Richard Zhao | 3 min read