<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/vlans-for-proxmox-opnsense-my-homelab-setup-ytsezloep" -->

---
title: VLANs for Proxmox + OPNsense: My Homelab Setup | daily.dev
description: A walkthrough of configuring VLANs across a Proxmox cluster, OPNsense firewall, and a managed switch to achieve flexible network segmentation in a homelab....
canonical: https://daily.dev/posts/vlans-for-proxmox-opnsense-my-homelab-setup-ytsezloep
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: VLANs for Proxmox + OPNsense: My Homelab Setup | daily.dev
og:description: A walkthrough of configuring VLANs across a Proxmox cluster, OPNsense firewall, and a managed switch to achieve flexible network segmentation in a homelab....
og:url: https://daily.dev/posts/vlans-for-proxmox-opnsense-my-homelab-setup-ytsezloep
og:image: https://api.daily.dev/og/posts/yTSEzlOep.png
og:image:alt: VLANs for Proxmox + OPNsense: My Homelab Setup
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# VLANs for Proxmox + OPNsense: My Homelab Setup

**[Christian Lempa](https://daily.dev/sources/christianlempa)** · 20 min read · 0 upvotes · 0 comments

## Summary

A walkthrough of configuring VLANs across a Proxmox cluster, OPNsense firewall, and a managed switch to achieve flexible network segmentation in a homelab. Covers the difference between managed and unmanaged switches, tagged vs untagged ports, making Proxmox VLAN-aware, creating VLAN interfaces for cluster communication and HA links, and enforcing inter-VLAN firewall rules in OPNsense. Includes a live demo of assigning VMs to different VLANs and verifying firewall rule enforcement.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=5MY5FhMjs94>

## Similar posts on daily.dev

- [Stop putting off VLANs in your homelab — Proxmox SDN makes them almost too easy](https://daily.dev/posts/stop-putting-off-vlans-in-your-homelab-proxmox-sdn-makes-them-almost-too-easy-p4xrm9vtr) · XDA Developers · 0 upvotes · 0 comments
- [Add a VLAN to OPNsense in Just 26 Clicks Across 6 Screens](https://daily.dev/posts/add-a-vlan-to-opnsense-in-just-26-clicks-across-6-screens-qerabobc9) · Lobsters · 1 upvotes · 0 comments
- [I built a perfectly segmented home network, then spent six months poking holes back through it](https://daily.dev/posts/i-built-a-perfectly-segmented-home-network-then-spent-six-months-poking-holes-back-through-it-vgky0ahau) · XDA Developers · 0 upvotes · 0 comments
- [Unscrewing lightbulbs](https://daily.dev/posts/unscrewing-lightbulbs-uyopabn02) · dbushell · 0 upvotes · 0 comments

---

Tags: [#homelab](https://daily.dev/tags/homelab), [#proxmox](https://daily.dev/tags/proxmox), [#security](https://daily.dev/tags/security)

[View this post on daily.dev](https://daily.dev/posts/vlans-for-proxmox-opnsense-my-homelab-setup-ytsezloep)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"VLANs for Proxmox + OPNsense: My Homelab Setup","url":"https://daily.dev/posts/vlans-for-proxmox-opnsense-my-homelab-setup-ytsezloep","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/vlans-for-proxmox-opnsense-my-homelab-setup-ytsezloep"},"datePublished":"2026-07-10T14:11:46.642Z","dateModified":"2026-10-14T02:24:29.239Z","description":"A walkthrough of configuring VLANs across a Proxmox cluster, OPNsense firewall, and a managed switch to achieve flexible network segmentation in a homelab....","image":"https://i.ytimg.com/vi/5MY5FhMjs94/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/5MY5FhMjs94/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Christian Lempa","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Christian Lempa","logo":"https://media.daily.dev/image/upload/s--r09bzzis--/f_auto/v1723788767/logos/christianlempa","url":"https://daily.dev/sources/christianlempa"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/vlans-for-proxmox-opnsense-my-homelab-setup-ytsezloep","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"homelab,proxmox,security","timeRequired":"PT20M","video":{"@type":"VideoObject","name":"VLANs for Proxmox + OPNsense: My Homelab Setup","description":"A walkthrough of configuring VLANs across a Proxmox cluster, OPNsense firewall, and a managed switch to achieve flexible network segmentation in a homelab....","thumbnailUrl":"https://i.ytimg.com/vi/5MY5FhMjs94/sddefault.jpg","uploadDate":"2026-07-10T14:11:46.642Z","duration":"PT20M","url":"https://api.daily.dev/r/yTSEzlOep","embedUrl":"https://www.youtube.com/embed/5MY5FhMjs94"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Christian Lempa","item":"https://daily.dev/sources/christianlempa"},{"@type":"ListItem","position":3,"name":"VLANs for Proxmox + OPNsense: My Homelab Setup"}]}
```

