Skip to content

Setup OPNsense

Last updated on

For installation and setup of the OPNsense Appliance it is required to download the Git Repository and have a working installation of terraform on your device.

For the OPNsense installation download the Git 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] 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://opnsense.object.storage.eu01.onstackit.cloud