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

    2.2 on Hyper-V on Windows 8.1

    Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
    39 Posts 14 Posters 12.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.
    • H
      hege
      last edited by

      As long as you want/have to virtualize a firewall - there is nothing against using the hyper-v under windows 8

      1 Reply Last reply Reply Quote 0
      • T
        tandem
        last edited by

        @KOM:

        I would seriously reconsider running pfSense as a virtual machine under Windows 8 desktop.

        Why, do you mean the basic discussions, whether hardware is more safe than software?
        I use 3 netwok-cards, only one Lan-Adapter is connected to Windows and Pfense, the others are only connected to Pfsense as Wan. I also checked the log files after I virtualized the system and can't see any differences to the hardware-box before.
        I also played with different filter and blockers, the client response time is always speedy.

        1 Reply Last reply Reply Quote 0
        • KOMK
          KOM
          last edited by

          Because I think it's foolish to run a firewall virtualized under a consumer-level OS.  I'm coming from a corporate enterprise perspective, not home users, but even then I wouldn't think of doing that.  You want as small an attack surface as you can manage.  Best practice is to never connect the OS directly to the Internet.  What you're doing is putting an OS with a long history of trading convenience for security directly on the wire.  Any traffic to/from your end is going to be processed by the Windows TCP/IP stack first and then passed along to the virtualized NIC.  It's like owning a nightclub and putting a bouncer in the bathroom; by the time the bouncer is aware of a problem, the problem is already in the club.

          1 Reply Last reply Reply Quote 0
          • H
            hege
            last edited by

            @KOM:

            …Any traffic to/from your end is going to be processed by the Windows TCP/IP...

            Not true. I dont find the correct link at the moment, but under Hyper-V, even the guest os (Windows 8 in this case) has no direct access to the NICs (like in Server 2012 R2 with Hyper-V)

            WAN
              |
            Hyper-V
              |
            V-Switch
              |
            Guest OS + VMs

            1 Reply Last reply Reply Quote 0
            • KOMK
              KOM
              last edited by

              Let;s just say that you are a braver man than I, and you have much more faith in Microsoft than I do.

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by

                @KOM:

                Because I think it's foolish to run a firewall virtualized under a consumer-level OS.  I'm coming from a corporate enterprise perspective, not home users, but even then I wouldn't think of doing that.  You want as small an attack surface as you can manage.  Best practice is to never connect the OS directly to the Internet.  What you're doing is putting an OS with a long history of trading convenience for security directly on the wire.  Any traffic to/from your end is going to be processed by the Windows TCP/IP stack first and then passed along to the virtualized NIC.  It's like owning a nightclub and putting a bouncer in the bathroom; by the time the bouncer is aware of a problem, the problem is already in the club.

                im a 1000% with you on this. now running a VM under ESXi is different as theres nothing more than the hypervisor there . with Microsoft you have a Huge Gapping hole to be attacked.

                I also are in Corporate enterprise sector. we have a policy that states "NO Windows Operating systems shall be used on ANY server that has internet services running on it PERIOD"

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Of course there's nothing wrong with using pfSense in a vm to firewall the other vms.
                  I agree though Windows is not a great host OS for a firewall. However it looks like you're running Windows as a server rather than a desktop in which case why not use a real hypervisor, like ESXi, and run both Windows and pfSense as VMs.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • S
                    schiggityschwa
                    last edited by

                    @SunCatalyst:

                    @KOM:

                    Because I think it's foolish to run a firewall virtualized under a consumer-level OS.  I'm coming from a corporate enterprise perspective, not home users, but even then I wouldn't think of doing that.  You want as small an attack surface as you can manage.  Best practice is to never connect the OS directly to the Internet.  What you're doing is putting an OS with a long history of trading convenience for security directly on the wire.  Any traffic to/from your end is going to be processed by the Windows TCP/IP stack first and then passed along to the virtualized NIC.  It's like owning a nightclub and putting a bouncer in the bathroom; by the time the bouncer is aware of a problem, the problem is already in the club.

                    im a 1000% with you on this. now running a VM under ESXi is different as theres nothing more than the hypervisor there . with Microsoft you have a Huge Gapping hole to be attacked.

                    I also are in Corporate enterprise sector. we have a policy that states "NO Windows Operating systems shall be used on ANY server that has internet services running on it PERIOD"

                    that's actually an incorrect statement. you could just as easily run hyper-v server (which would be the same as esxi). additionally, you could even run server core which would still minimize the surface attack footprint.

                    1 Reply Last reply Reply Quote 0
                    • M
                      maverick_slo
                      last edited by

                      Exactly.
                      I went to hardware from Hyper-V and ESXi but just because I got myself pretty little Atom box with 4 nics in it :)

                      When this box dies, pfSense goes directly to Hyper-V server (2012 R2).
                      It is the same as ESXi, real hypervisor and when you lock it down its just as secure as ESXi…

                      1 Reply Last reply Reply Quote 0
                      • T
                        tandem
                        last edited by

                        @SunCatalyst:

                        @KOM:

                        Because I think it's foolish to run a firewall virtualized under a consumer-level OS.  I'm coming from a corporate enterprise perspective, not home users, but even then I wouldn't think of doing that.  You want as small an attack surface as you can manage.  Best practice is to never connect the OS directly to the Internet.  What you're doing is putting an OS with a long history of trading convenience for security directly on the wire.  Any traffic to/from your end is going to be processed by the Windows TCP/IP stack first and then passed along to the virtualized NIC.  It's like owning a nightclub and putting a bouncer in the bathroom; by the time the bouncer is aware of a problem, the problem is already in the club.

                        im a 1000% with you on this. now running a VM under ESXi is different as theres nothing more than the hypervisor there . with Microsoft you have a Huge Gapping hole to be attacked.

                        I also are in Corporate enterprise sector. we have a policy that states "NO Windows Operating systems shall be used on ANY server that has internet services running on it PERIOD"

                        No, the real hypervisor in Win Server 2012R2 or Win 8.1 (which is technical the same) is more or less similar to ESXi. May be that in the microsoft network is somewhere a bug, may be in the ESXi too? Many thousands of Microsoft webserver are directly connected to the internet, a much more point of interest than my home server.

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Don't make the mistake of thinking that just because your server has nothing interesting on it it will be any lesser target. The vast majority of hack attempts are automated bots that don't care what's on your network.

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • KOMK
                            KOM
                            last edited by

                            I did some reading as my knowledge of Hyper-V was based on older 2008/2012.  I was surprised to find that MS closed the gap with VMware by making the Hyper-V layer the base layer (when installed) and then running Windows Server as a Parent VM on top of that.

                            The one thing that did jump out at me was that Hyper-V on Server 2012 R2 is NOT the same as client Hyper-V on Win 8.1 - not even close.  Server Hyper-V is the actual Type 1 hypervisor layer with Parent VM OS on top of that, similar to VMware ESXi.  Client Hyper-V is Type 2 with a Windows base OS and then MS's Virtual PC layered on top of that, similar to VMware Workstation.

                            Unless OP is short on hardware, I would recommend that he install Windows Server 2012 R2 if he wants to run pfSense under Hyper-V.

                            1 Reply Last reply Reply Quote 0
                            • H
                              hege
                              last edited by

                              @KOM:

                              ..Client Hyper-V is Type 2 with a Windows base OS and then MS's Virtual PC layered on top of that, similar to VMware Workstation.

                              Unless OP is short on hardware, I would recommend that he install Windows Server 2012 R2 if he wants to run pfSense under Hyper-V.

                              I'm 99,9 % certain that Client Hyper-V is also type 1 (Win8+/Srv2012+)

                              As a side note, there is also a free windows hypervisor called "Hyper-V Server 2012 R2)

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                I'm no expert on this and I agree things seem to have moved forward since I was last paying attention. Hyper-V server appears to be at least type 1-ish although it's built with Windows components. However the versions built into Windows OS appear less so.
                                @http://en.wikipedia.org/wiki/Hyper-V:

                                A hypervisor instance has to have at least one parent partition, running a supported version of Windows Server (2008, 2008 R2, or 2012). The virtualization stack runs in the parent partition and has direct access to the hardware devices.

                                If the OS running in the parent partition has access to the hardware directly it still represents an attack surface no?

                                If I were doing this I'd choose another hypervisor or at least use the Hyper-V server variant.

                                Steve

                                1 Reply Last reply Reply Quote 0
                                • T
                                  tandem
                                  last edited by

                                  @hege:

                                  @KOM:

                                  ..Client Hyper-V is Type 2 with a Windows base OS and then MS's Virtual PC layered on top of that, similar to VMware Workstation.

                                  Unless OP is short on hardware, I would recommend that he install Windows Server 2012 R2 if he wants to run pfSense under Hyper-V.

                                  I'm 99,9 % certain that Client Hyper-V is also type 1 (Win8+/Srv2012+)

                                  As a side note, there is also a free windows hypervisor called "Hyper-V Server 2012 R2)

                                  Yes, HyperV on Server 2012r2 and Win 8.1 are a type 1 hypervisor and are not the same as Vmware Workstation, which is similar to Virtualbox or the former MS-VirtualPC, all classic type 2 hypervisors. HyperV is similar to ESXi.
                                  For sure if an application, which runs on my homeserver has a security hole, a bot can enter my network. But I see no difference, whether I run it on a different PC or on my homeserver, the bot is also able to enter and doing all the bad things he want to do.

                                  The advantage of the free Hyper-V Server 2012 R2 is, that it uses less resources and has more build in utilities for managing the VMs, but i am satisfied with the Win 8.1 Tools and resources I have more than enough.

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    P3R
                                    last edited by

                                    @tandem:

                                    Yes, HyperV on Server 2012r2 and Win 8.1 are a type 1 hypervisor…

                                    This statement is a contradiction.

                                    AFAIK the definition of a type 1 hypervisor is that it is the OS and runs on bare metal without any host OS. Therefore a type 1 hypervisor doesn't run ON Server 2012r2, Win 8.1 or any other host OS.

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      tester_02
                                      last edited by

                                      That same wiki link lists hyper-v as a type 1.
                                      All systems have a host os (esxi kernel is linux) just nobody wants to call is an OS.  :)

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tandem
                                        last edited by

                                        @P3R:

                                        @tandem:

                                        Yes, HyperV on Server 2012r2 and Win 8.1 are a type 1 hypervisor…

                                        This statement is a contradiction.

                                        AFAIK the definition of a type 1 hypervisor is that it is the OS and runs on bare metal without any host OS. Therefore a type 1 hypervisor doesn't run ON Server 2012r2, Win 8.1 or any other host OS.

                                        Wrong, ESXi is a Linux derivative, thats why you need ESXi drivers to run your diskcontroller, raid, etc…

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          maverick_slo
                                          last edited by

                                          Hyper-V IS type 1 hypervisor and it is exactly the same thing as ESXi as far as TYPE is concerned…
                                          My Hyper-V is locked down completley and it is just secure as any other ESX box.
                                          I used ESXi for many years bt now I`m on Hyper-v 3 years already.

                                          Stop bullshitting about ESXi being more secure than Hyper-V it is a matter of configuration and admin decisions...
                                          I`ve seen ESX boxes with port 22 being available on the net, U/P root/toor, root/root combos etc...

                                          And yes, do not install pfsense on Win 8.1 hypervisor, use 2012 R2 for that.
                                          And no, I`m not a MS fan I just try to combine best of the 3 worlds (MS, *nix and BSD).

                                          My 2 cents.

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            maverick_slo
                                            last edited by

                                            @P3R:

                                            @tandem:

                                            Yes, HyperV on Server 2012r2 and Win 8.1 are a type 1 hypervisor…

                                            This statement is a contradiction.

                                            AFAIK the definition of a type 1 hypervisor is that it is the OS and runs on bare metal without any host OS. Therefore a type 1 hypervisor doesn't run ON Server 2012r2, Win 8.1 or any other host OS.

                                            All I`m gonna say to this statement is a big fat LOL.

                                            ESXi uses vmkernel for it`s OS. ESXi vmkernel IS NOT LINUX BASED.

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