Hyper-V for virtual firewall

Peter 21 Reputation points

Hi everyone,

I am really new to Hyper-V, so please don't mind if this is a silly question. I currently own a HPE Microserver with 4 NIC that I would install Windows Server 2019 on. Now, I would like to install a single virtual machine that acts as a transparent/bridging firewall between 2 of those 4 NIC to filter all traffic, while the other 2 NIC would serve for general purpose for the host machine. Is that possible with Hyper-V? If so, how would I configure it?

Thanks for any help!

Best regards,


A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,598 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.3K Reputation points MVP

    Sure, you can follow along here to build a virtual machine with RRAS router (internal to external vSwitch) role.

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Peter 21 Reputation points

    Thanks! So I would dedicate two NICs to the virtual machine (and possible an additional external NIC for management) and if set to transparent mode all traffic coming in on the first dedicated NIC would go to the second dedicated NIC and vice versa?

  2. Peter 21 Reputation points

    Sure, the firewall itself needs to be configured, but I just needed the traffice get to the virtual NIC at all :). Thanks!