Setting up a network to filter traffic.

Walery

Member
Feb 11, 2021
67
1
13
42
Hi. I have a PVE 8.2.7 server with 2 network cards. I need to configure a virtual machine with nethsecurity. All traffic should go through this virtual machine for filtering and then get into the local network and be distributed via wifi.Tell me how to configure it correctly?
lan.jpg
 
looking at your screenshot, I'm assuming that vmbr0 is your outgoing address and that you're hosting PVE behind NAT already?

If you're wanting to install nethsecurity on vmbr0 and vmbr1 you already have the basics in PVE. I suspect that nethsecurity will allow you to choose what its WAN interface is (vmbr0 in this case) and what its LAN interface is (vmbr1 in this case). So when you create your VM, you need to ensure that you give it access to both vmbr0 and vmbr1 by adding 2 networks to it.

There's no need (that I can see) to do any more in PVE itself, I have similar setups running both pfSense and OPNSense firewalls.
 

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!