Overview

Install pfSense on Hyper-V

pfSense is a free firewall and router. This guide installs it as a Hyper-V virtual machine with one network card facing the internet and one facing the school network.

4 minute readFor IT technicians and network managersReviewed 15 November 2026
What improves

The school network gets a firewall and router you control.

Why it matters

Without one, there is nothing to separate the school network from the internet or from itself.

How you do it

Create two virtual switches, build the VM, install pfSense, assign the interfaces and run the wizard.

Every name, address and value in this guide is an example. Replace them with your own.

What you will have at the end

ItemExample
Firewall VMCON-FW-01, pfSense CE
WAN (internet side)hn0 on switch CON-WAN, 192.168.100.10/24
LAN (school side)hn1 on switch CON-LAN, 10.0.1.1/24
Admin pagehttps://10.0.1.1

What you need

  • A Hyper-V host with internet access.
  • The pfSense CE installer image from Netgate. The installer downloads pfSense during setup, so the VM needs internet on its WAN side.

The route

  1. Create the virtual switches

    One for WAN, one for LAN.

  2. Create the VM and install

    A small Generation 2 machine.

  3. Assign the interfaces

    Tell pfSense which card is which.

  4. Run the setup wizard

    Password, time zone and DNS.

Your progress is kept in this browser only.