Install OpenSense in Proxmox with only 2 NIC

stisse

New Member
Apr 28, 2023
1
0
1
Sundsvall, Sweden
Hi
I have try for days to install OpenSense into Proxmox as a VM. Read and watch videos on youtube, but I got it not to work.

I have just 2 NIC.
Where I whant to use:
One for WAN out to my ISP (DHCP connected) ---> NIC enp1s0
One for LAN where OpenSense works as DHCP for my network. And Proxmox is behind OpenSense firewall and don´t have direct contact with the public network. ---> NIC enp2s0

I have now installed Proxmox again so I have defualt network setup.
/etc/network/interfaces give me this.
auto lo
iface lo inet loopback

iface enp2s0 inet manual

iface enp1s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.10/24
gateway 192.168.1.1
bridge-ports enp2s0
bridge-stp off
bridge-fd 0

For now the proxmox is connected to my old router. Who I want to remove and use OpenSense instead.
How should I change "interfaces" so I got right setup with Linux Bridges?

Sorry for my bad English, from Sweden.

//Stefan
 
Last edited:
you have to create a second bridge with the interface enp1s0 and connect it as wan.
Or u passthrough the pci network card with the interface enp1s0 to the vm if possible.
 
  • Like
Reactions: lonelytourist

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!