Isolated VLAN + Firewall Rules

Started by nicholaswkc, November 18, 2026, 09:08:13 AM

Previous topic - Next topic
Dear expert,

I had install opnsense 26.7 n now need to setup separate vlan for each port and firewall rules.

Requirments:
1. separate vlan for each port
2. Firewall rules that cannot connect beyond boundary(Port/Vlan).

Im a newbie. Please bear with me.
Please share the step by step guide so that i can follow it. Thanks in advance.






 






These are a good place to start:

https://docs.opnsense.org/manual/how-tos/vlan_and_lagg.html
https://docs.opnsense.org/manual/how-tos/security-zones.html
Hardware:
DEC740

I tried to read it but could not understand it.

Anyone can share a step by step guide to create
1. single vlan Interfaces ‣ Devices ‣ VLAN .
2. Create Interfaces-Assignments (Don't know stuck here)
3. Create allow all
4. Create block to others zone

Please share. Thanks in advance.


Quote from: nicholaswkc on November 18, 2026, 01:12:40 PMI tried to read it but could not understand it.
You are overthinking it :

- Each NIC is 1 Interface.
- Each Interface can carrry a seperate subnet.

So the only place you need VLAN seperation is on your Switch this way :)



Firewall Rules are even easier :

- When you create a new network it can not reach other networks or the Internet.
- Other networks like the Default LAN Network can reach the new network and the Internet.

So pick your Firewall Rules for the new network wisely and it will never reach your local networks :)
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)