https://github.com/stackitcloud/terraform-pfsense-appliance
STACKIT pfSense Terraform Deployment
https://github.com/stackitcloud/terraform-pfsense-appliance
Last synced: 21 days ago
JSON representation
STACKIT pfSense Terraform Deployment
- Host: GitHub
- URL: https://github.com/stackitcloud/terraform-pfsense-appliance
- Owner: stackitcloud
- License: gpl-3.0
- Created: 2023-08-29T12:30:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-12-02T15:51:52.000Z (5 months ago)
- Last Synced: 2025-12-24T07:55:58.695Z (4 months ago)
- Language: HCL
- Size: 60.5 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# STACKIT pfSense Deployment
Terraform script to deploy an pfSense firewall into STACKIT Cloud.
Deployment overview:

The Terraform deployment consists of:
+ WAN Network
+ LAN Network
+ pfSense firewall VM + disk volume
+ FloatingIP for firewall VM
+ deactivating port security on firewall ports
## Setup
**Requirements:**
+ Terraform installed
+ Access to a STACKIT project
+ STACKIT Service Account Key
### Installation
1. Clone Repo
1. Set Project ID in `01-config.tf`
1. Create & Save a STACKIT Service Account Token and place it in the `secrets.json` file.
1. Run Terraform `terraform apply`
## Default Configuration
### Interfaces
1. `vtnet0` WAN
1. `vtnet1` LAN
### NAT
Masqurade (Outbound NAT) Traffic from `LAN` to `WAN`
### Dashboard
Customized Widgets and CSS settings
### Password
Set default password for admin to STACKIT123!
### Interface Access
Disabled Referer-Check
Enable allow all wan adresses to connect to the WebUI
Now you can enter the WebUI via the FloatingIP on port 443 the default login is admin:STACKIT123!