Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PfSense in a hyper-v virtual machine

    Scheduled Pinned Locked Moved Virtualization
    3 Posts 3 Posters 4.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      greg1256
      last edited by

      Hi,

      I have configured my pfsense firewall in windows hyper-v virtual machine.
      My setup is:
      isp router > intel dual port nic (one wan and the other lan) these are used by virtual switches within pfsense which windows cannot use. > the lan side is connected to a switch > then other pcs are connected to the switch.
      The only was I can connect to the internet and pfsense web configuration is by connecting the switch to the isp router.

      Basically I want the traffic to come through the isp router and go through pfsense and  then switch. I dont want the switch to be directly connected via the isp router.
      How can I resolve this issue?

      Thanks in advance for the help.

      Greg.

      1 Reply Last reply Reply Quote 0
      • A
        andipandi
        last edited by

        I have the same setup, it is working flawlessly.

        What exactly is your problem?

        Can you determine where the traffic stops? It might be either that your Hyper-V networking is misconfigured (not too many choices.. though LAN and WAN might be mixed up between pfSense and Host) or you might also have to create some firewall rules to allow LAN to access WAN or some other reasons.

        A little more information, also on what you have tried and how you set up, would help with determining the problem.

        1 Reply Last reply Reply Quote 0
        • B
          bimmerdriver
          last edited by

          I have the same configuration. Dual nic, both connected to virtual switches. The nic connected to the virtual lan switch is connected to a physical switch. The nic connected to the virtual wan switch is connected to a bridged port on the modem. The management interface for the hyper-v server is connected to the virtual lan switch.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.