Skip to content

Commit 089dabe

Browse files
authored
Merge pull request #32 from stackitcloud/30-switch-from-pfsense-to-opnsense
feat(firewall): switch from pfSense to OPNsense in configurations and…
2 parents ed32ed8 + d6fc498 commit 089dabe

5 files changed

Lines changed: 9 additions & 11 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ updates:
44
directories:
55
- "/src"
66
- "/src/modules/*"
7-
- "/stackit-verified-modules/*"
87
schedule:
98
interval: "weekly"
109
day: "sunday"

docs/getting-started.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Three ready-to-use configurations are provided in `src/config/`:
2020
|---------|-------------|-------------|
2121
| **Standalone** | `standalone.tfvars` | Governance, management, devops, and public landing zones only. No network area or firewall. |
2222
| **Hub-Spoke** | `hub-and-spoke.tfvars` | Adds a connectivity hub with a network area and DNS zones. Corporate landing zones connect via the network area. |
23-
| **Hub-Spoke + Firewall** | `hub-and-spoke-firewall.tfvars` | Full hub-spoke topology with a pfSense firewall appliance on the WAN/LAN boundary. |
23+
| **Hub-Spoke + Firewall** | `hub-and-spoke-firewall.tfvars` | Full hub-spoke topology with an OPNsense firewall appliance on the WAN/LAN boundary. |
2424

2525
Choose the flavour that matches your requirements and adjust the corresponding `.tfvars` file before deployment (step 7). At a minimum, update `owner_email`, `organization_id`, `company_name`, and `company_code`.
2626

@@ -52,12 +52,12 @@ git clone https://github.com/stackitcloud/stackit-landing-zone.git
5252
cd stackit-landing-zone/src
5353
```
5454

55-
### 2. Download the pfSense firewall image (Hub-Spoke + Firewall only)
55+
### 2. Download the OPNsense firewall image (Hub-Spoke + Firewall only)
5656

57-
If you are deploying the Hub-Spoke + Firewall flavour, download the pfSense image into the `src/` directory:
57+
If you are deploying the Hub-Spoke + Firewall flavour, download the OPNsense image into the `src/` directory:
5858

5959
```bash
60-
curl -o firewall-image.qcow2 https://pfsense.object.storage.eu01.onstackit.cloud/pfsense-ce-2.7.2-amd64-10-12-2024.qcow2
60+
curl -o firewall-image.qcow2 https://opnsense.object.storage.eu01.onstackit.cloud/opnsense-26.1-amd64-21-05-2026.qcow2
6161
```
6262

6363
### 3. Authenticate with STACKIT
@@ -231,6 +231,6 @@ stackit project delete --project-id <BOOTSTRAP_PROJECT_ID>
231231

232232
## Post-Deployment (Optional)
233233

234-
### Configure pfSense firewall
234+
### Configure OPNsense firewall
235235

236-
If you deployed the Hub-Spoke + Firewall flavour, configure the pfSense appliance as described in the [STACKIT pfSense documentation](https://docs.stackit.cloud/products/quick-deployments/pfsense-firewall/tutorials/configure-pfsense/).
236+
If you deployed the Hub-Spoke + Firewall flavour, configure the OPNsense. Guidance will be available soon in the STACKIT docs.

src/config/hub-and-spoke-firewall.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ connectivity = {
8080
firewall = {
8181
zone = "eu01-m"
8282
flavor = "c1.2"
83-
name = "pfsense-2.7.2"
83+
name = "opnsense-26.1"
8484
lan_network_range = "10.0.0.0/28"
8585
wan_network_range = "10.0.0.16/28"
8686
}

src/modules/connectivity/5-firewall.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ resource "stackit_image" "firewall" {
99
name = var.firewall.name
1010
local_file_path = "./firewall-image.qcow2"
1111
disk_format = "qcow2"
12-
min_disk_size = 10
12+
min_disk_size = 16
1313
min_ram = 2
1414
config = {
1515
uefi = false
@@ -38,7 +38,6 @@ resource "stackit_volume" "firewall" {
3838
## SERVER ##
3939
############
4040

41-
# after rollout: https://docs.stackit.cloud/products/quick-deployments/pfsense-firewall/tutorials/configure-pfsense/
4241
resource "stackit_server" "firewall" {
4342
count = var.firewall != null ? 1 : 0
4443

src/tests/hub_spoke_firewall.tftest.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ variables {
6060
flavor = "c1.2"
6161
lan_network_range = "10.0.0.0/28"
6262
wan_network_range = "10.0.0.16/28"
63-
name = "pfsense-2.7.2"
63+
name = "opnsense-26.1"
6464
}
6565
}
6666

0 commit comments

Comments
 (0)