Yes to all... this is the problem when you work with newbies; so much to get wrong.
I took a step back and set-up a test environment, simplified to the bare bones.
First test and validate switch config.
1. 4 access ports, 1. Proxmox (no OPNsense), 2 clients --> all pings in any direction
2. change Proxmox port to access and added this config --> all pings in any direction
Though the config seems excessive?!
which evolved to:
... after I created VNets:
... with this zone:
Now the questions:
1. is this configuration suitable for installing OPNsense in a VM on this Proxmox machine?
2. What I mean, other than having to configure OPNsense, there is no further config on Proxmox required?! Correct?
3. When going through the OPNsense setup in the CLI is it correct to select the VNets and not vmbrs (except for WAN) as interface for the LAN, DMZ, IOT, Guest networks?
4. Anything else I need to do to not log me out of Proxmox or OPNsense? :)
I took a step back and set-up a test environment, simplified to the bare bones.
First test and validate switch config.
1. 4 access ports, 1. Proxmox (no OPNsense), 2 clients --> all pings in any direction
2. change Proxmox port to access and added this config --> all pings in any direction
Though the config seems excessive?!
Code Select
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet manual
iface enx0050b61f9434 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.2.2/24
gateway 192.168.2.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
#LAN bridge (untagged, native VLAN)
auto vmbr1
iface vmbr1 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
#WAN bridge
auto vmbr10
iface vmbr10 inet manual
bridge-ports eno1.10
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 10
#LAN VLAN 10 (tagged)
auto eno1.10
iface eno1.10 inet manual
vlan-raw-device eno1
#VLAN 10 subinterface
source /etc/network/interfaces.d/*
which evolved to:
Code Select
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet manual
auto enx0050b61f9434
iface enx0050b61f9434 inet manual
#WAN (no VLAN)
auto vmbr0
iface vmbr0 inet static
address 192.168.2.2/24
gateway 192.168.2.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 10,30,40,50
#LAN bridge (untagged + VLANs 20,30,40,50)
auto vmbr1
iface vmbr1 inet static
address 192.168.1.2/24
bridge-ports enx0050b61f9434
bridge-stp off
bridge-fd 0
#WAN bridge (no VLAN)
source /etc/network/interfaces.d/*
... after I created VNets:
Code Select
cat /etc/pve/sdn/vnets.cfg
vnet: vnetlan
zone vlanzone
alias VNet LAN
tag 10
vnet: vnetdmz
zone vlanzone
alias VNet DMZ
tag 30
vnet: vnetiot
zone vlanzone
alias VNet IoT
tag 40
vnet: vnetgst
zone vlanzone
alias VNet Guest
tag 50
... with this zone:
Code Select
cat /etc/pve/sdn/zones.cfg
vlan: vlanzone
bridge vmbr0
ipam pve
Now the questions:
1. is this configuration suitable for installing OPNsense in a VM on this Proxmox machine?
2. What I mean, other than having to configure OPNsense, there is no further config on Proxmox required?! Correct?
3. When going through the OPNsense setup in the CLI is it correct to select the VNets and not vmbrs (except for WAN) as interface for the LAN, DMZ, IOT, Guest networks?
4. Anything else I need to do to not log me out of Proxmox or OPNsense? :)