1
General Discussion / Re: OPNsense on Proxmox with linux bridge switch - VLANs not working
« on: November 14, 2023, 09:13:21 pm »
Got it fully operational.
What I did was create a linux bridge in ProxMox as vmbr1 where all NIC's except nr 1 where added, just look for the tutorial on ProxMox and Linux bridge. This will respond as a "kinda L3 switch" since the cables in my house are connecting to a managed L2 switch.
Next installed OPNsense on a VM and added the vmbr1 as my LAN NIC. My network was responding on all switches.
In OPNsense I build my 4 basic VLANs and had to add 3 mandatory VLANs from my ISP to have all connections operational. On the OPNsense firewall I arranged the separation of the VLANs, so they can't interact without help of additional layer of functionality. And I blocked the https access to the firewall from all VLAN's except 1 (that's my administrator vlan). I created a VM on my laptop with a VPN to that latter VLAN and can now access all thru a secured box without needing to expose my administator VLAN on a port of a switch. And with a trunc a connected the set of vlans to a NUC that runs a hypervisor. Here I add dockers to any of the VLAN's.
Have only one thing to investigate: can I somehow add the baremetal machine hosting proxmox and OPNsense to my administrator network. My guts say no, you can't. But let's explore.
I'm happy.
What I did was create a linux bridge in ProxMox as vmbr1 where all NIC's except nr 1 where added, just look for the tutorial on ProxMox and Linux bridge. This will respond as a "kinda L3 switch" since the cables in my house are connecting to a managed L2 switch.
Next installed OPNsense on a VM and added the vmbr1 as my LAN NIC. My network was responding on all switches.
In OPNsense I build my 4 basic VLANs and had to add 3 mandatory VLANs from my ISP to have all connections operational. On the OPNsense firewall I arranged the separation of the VLANs, so they can't interact without help of additional layer of functionality. And I blocked the https access to the firewall from all VLAN's except 1 (that's my administrator vlan). I created a VM on my laptop with a VPN to that latter VLAN and can now access all thru a secured box without needing to expose my administator VLAN on a port of a switch. And with a trunc a connected the set of vlans to a NUC that runs a hypervisor. Here I add dockers to any of the VLAN's.
Have only one thing to investigate: can I somehow add the baremetal machine hosting proxmox and OPNsense to my administrator network. My guts say no, you can't. But let's explore.
I'm happy.