Follow this video to install OPNsense on Proxmox:
https://www.youtube.com/watch?v=-UMcrTTWbuU
Log in to OPNsense and navigate to:
Interfaces > Devices > VLAN
Click the “+” button to add a new VLAN.
- Device:
vlan0.10 - Parent Interface:
vtnet1 (LAN)Use the interface configured during the initial setup
- VLAN Tag:
10
Click Save
Repeat the same steps to create:
- VLAN 20
- VLAN 30
- VLAN 40
- VLAN 999
⚠️ For VLAN 999, use the WAN interface as the parent.
Go to:
Interfaces > Assignments
- Assign all newly created VLAN interfaces
- Click Save
For each assigned interface:
- ✅ Enable the interface
- 🔒 Check Prevent interface removal
- 🌍 Set IPv4 Configuration Type to
Static IPv4 - 🧾 Assign the appropriate IP address under Static IPv4 Configuration
Click Save
Repeat for all interfaces.
Go to:
System > Gateways > Configuration
Click “+” to add gateways:
- 🌐 INTERNET Gateway
- 🚪 WAN Gateway
Go to:
System > Routes > Configuration
Click “+” to add routes.
Go to:
System > Firmware > Plugins
- ✅ Enable Show community plugins
- 📦 Install the following:
os-frr(routing / OSPF)os-net-snmp(monitoring)
After installation, reboot OPNsense:
Power > Reboot
Go to:
Firewall > Aliases
Click “+” and configure the required alias. Click Save.
Go to:
Firewall > NAT > Outbound
- ⚙️ Select Manual Outbound NAT
- Click Save
Click “+” to add NAT rules:
- 🌍 INTERNET NAT
- 🚪 WAN NAT
Click Save and Apply Changes
Go to:
Routing > General
- ✅ Enable routing
- 🚫 Disable Firewall Rules
Click Apply
Go to:
Routing > OSPF
Configure the following sections:
- Configure as required
- Set all interfaces as Passive, except the WAN interface
Click Apply
Go to:
Services > Net-SNMP
- ⚙️ Configure SNMP settings as required
- 🌐 Set Listen IP to the WAN interface IP
⚠️ This is not the IP address of the Zabbix server.
Click Save
This configuration covers:
- 🏷️ VLAN segmentation
- 🔌 Interface assignment and IP configuration
- 🚪 Gateway and routing setup
- 🔄 NAT configuration
- 🧭 OSPF routing using FRR
- 📊 SNMP setup for monitoring (Zabbix)






















