Setup pfSense
Prerequisites
Section titled “Prerequisites”For installation and setup of the pfSense Appliance it is required to download the GitHub Repository and have a working installation of terraform on your device.
Preparation
Section titled “Preparation”For the pfSense installation please download the GitHub repository containing the deployment scripts for Terraform.
Terraform is going to create these networks vpc_network and wan_network the subnets for the VPC and WAN network get provisioned automatically.
In the file [01-config.tf](http://01-config.tf/) are settings such as the Availability Zone, Network ranges or the VM size (Machine Type) which can all be changed.
Configuration options:
- Project ID (required)
- Availability Zone
- Machine Type
- Network Range & IP Address
To create a service account and grant admin permissions refer to the Service account documentation.
You also need to Create a service account key as described and save the output as JSON into the secrets.json (overwrite all the content in the file).
The versions can be retrieved from the image repository: https://pfsense.object.storage.eu01.onstackit.cloud/index.html