Terraform script to deploy an pfSense firewall into STACKIT Cloud.
The Terraform deployment consists of:
- WAN Network
- LAN Network
- pfSense firewall VM + disk volume
- FloatingIP for firewall VM
- deactivating port security on firewall ports
Requirements:
- Terraform installed
- Access to a STACKIT project
- STACKIT Service Account Key
- Clone Repo
- Set Project ID in
01-config.tf
- Create & Save a STACKIT Service Account Token and place it in the
secrets.json
file. - Run Terraform
terraform apply
vtnet0
WANvtnet1
LAN
Masqurade (Outbound NAT) Traffic from LAN
to WAN
Customized Widgets and CSS settings
Set default password for admin to STACKIT123!
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!