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

    Leaving secuirty holes with HyperV?

    Scheduled Pinned Locked Moved Virtualization
    2 Posts 2 Posters 428 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.
    • P
      profIT
      last edited by

      I virtualized a pfSense inside of HyperV behind my router. pfSense gives my server its own LAN IP (10.10.10.2), even while the router infront gives its own(192.168.1.2). Does this mean I've missed a step and left my server vulnerable to the internet if I take the primary router (192.168.1.1) away and go from:
      Modem --> pfSense in HyperV?

      Not sure if I've configured it in a proper way...

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        You should assign two interface to your pfSense Hyper VM :
        A n interface you call "WAN" which should be an real physical interface bound to the VM. The host OS, Windows, should NOT use this interface at all. This interface should be connected to your ISP Router. Your pfSense WAN (DHCP) IP will be something like 192.168.1.x where x is not 1.

        Create another interface - virtual this time - called LAN, which, if could be bound to a actual second physical network interface so you can "expose" this LAN network to other LAN type devices using a real switch.
        If you do not have a second NIC, only the host OS Windows could / should be bound to the virtual LAN interface. The LAN should be set up as - why not - 10.10.10.1 (not .2 - that not logic - gateways have .1 or .254, not some IP in the middle of the range, that's more then awkward)).
        Your Windows host will acquire an 10.10.10.x, where x lies somewhere in your pfSense DHCP server pool you've set up.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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