OPNsense Firewall with Terraform
This example shows how to configure an OPNsense firewall as Infrastructure as Code with Terraform, in an architecture behind an Orange box in DMZ mode.
Command used
/ops:ops-opnsense "Configure OPNsense behind Orange box with firewall, DHCP and DNS"
Architecture
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Internet │ │ Box Orange │ │ OPNsense │
│ │────▶│ 192.168.1.1 │────▶│ WAN: DHCP │
│ │ │ Mode DMZ │ │ LAN: .10.1 │