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

    pfSense on Hyper-V Home Setup questions.

    Scheduled Pinned Locked Moved Virtualization
    32 Posts 4 Posters 3.3k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      Use your wifi router as just AP and put it behind pfsense.. You can do that with pfsense as VM.. Does your VM host have more than 1 nic?

      If not then you would need a vlan switch between your isp modem and the rest of your network..

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

      uxmU 1 Reply Last reply Reply Quote 0
      • uxmU
        uxm @johnpoz
        last edited by uxm

        @johnpoz My Asus AC68U is a modem/router. So I use it as my ISP modem and then as a router. I dont know if I can use it as AP only (and not losing the routing operations of this device). I dont have a separate ISP modem. Also, my hyper-v host has 2 nics.

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by johnpoz

          Then you have the wrong model number posted, a RT-AC68U is not a gateway device. The ac68u is a very common "router" only device.. Good reason to make sure post exact modem number ;) heheheh

          You have a DSL-AC68U?

          if your device is a gateway, then no you can not.. You would need to get a different modem or AP.. So you can separate the functionality of your modem and your AP.

          Once you can sep the functions - then yeah its very easy to put everything behind pfsense - even your wifi... What I would suggest is get a real AP, vs modem and using your current device as just AP... Say a unifi AP that supports vlans - this will allow you to create multiple segments for wifi, as long as you have a vlan capable switch - which I assume you do since you call out vlans in your drawing - what is the exact model of this netgear?

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          uxmU 1 Reply Last reply Reply Quote 0
          • uxmU
            uxm @johnpoz
            last edited by

            @johnpoz oh man! sorry. :) Yes, I have a DSL-AC68U. My netgear switch is a GS108T. So I think I might keep Asus as a modem and the buy a Unifi AP (Im watching videos right now, for the AirCube ACB-AC) and separate my wifi and put it behind pfSense right?

            1 Reply Last reply Reply Quote 0
            • kiokomanK
              kiokoman LAYER 8
              last edited by

              yup, exactly as i said, it 's the best solution, this way you can place the access point in a better position

              ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
              Please do not use chat/PM to ask for help
              we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
              Don't forget to Upvote with the 👍 button for any post you find to be helpful.

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by johnpoz

                @uxm said in pfSense on Hyper-V Home Setup questions.:

                AirCube ACB-AC

                No that is not what you would want... That is airmax... If you want something you just set on a table or something you prob want the https://store.ui.com/collections/wireless/products/unifi-flexhd

                Why can you not just get a normal AP that is mounted?
                This is more what you would setup in a home as your AP
                https://www.ui.com/unifi/unifi-ac/

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                uxmU 1 Reply Last reply Reply Quote 1
                • kiokomanK
                  kiokoman LAYER 8
                  last edited by

                  @uxm said in pfSense on Hyper-V Home Setup questions.:

                  AirCube ACB-AC

                  did pay attention to this, yeah, listen to johnpoz

                  ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                  Please do not use chat/PM to ask for help
                  we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                  Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by johnpoz

                    Yeah not sure what video's he is watching... But that is not wifi AP you would use in a home setup..

                    deployment.png

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                    1 Reply Last reply Reply Quote 0
                    • uxmU
                      uxm @johnpoz
                      last edited by

                      @johnpoz sorry I didnt know that Aircube is for costumers deoloyment. I think I will go for the Unifi AP-AC as you said.

                      Can I ask one more question? Should the virtual switches on my pfSense be internal and external? How will I be able to manage it? From the host itself or a VM? I thing my physical workstation will not be able to access it, right?

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        You would manage esxi host via the vmkern, which would be on your lan network..

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                        uxmU 1 Reply Last reply Reply Quote 0
                        • uxmU
                          uxm @johnpoz
                          last edited by

                          @johnpoz I dont have VMware esxi installed

                          1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator
                            last edited by

                            Sorry hyper-V just admin it from the lan side

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                            uxmU 1 Reply Last reply Reply Quote 0
                            • uxmU
                              uxm @johnpoz
                              last edited by

                              @johnpoz that was my question/statement. That I cant admin it from lan side by a physical pc if the pfsense vm connects to an internal (hyperv) virtual switch. :(

                              1 Reply Last reply Reply Quote 0
                              • johnpozJ
                                johnpoz LAYER 8 Global Moderator
                                last edited by johnpoz

                                You do understand pfsense can have multiple lan side interfaces right, and VM switches can be tied to physical network a well.. Maybe your issue is you don't actually get how VM Hosts work?

                                Your drawing is tied to both physical and virtual networks - so not sure why your confused?

                                An intelligent man is sometimes forced to be drunk to spend time with his fools
                                If you get confused: Listen to the Music Play
                                Please don't Chat/PM me for help, unless mod related
                                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                1 Reply Last reply Reply Quote 0
                                • uxmU
                                  uxm
                                  last edited by

                                  I know how Hyper-V works..The actual reason that I am confused, is that I can't ping pfsense from my physical PC nor I can admin it.

                                  Physical PC : 192.168.2.108
                                  Pfsense Internal side : 192.168.2.10

                                  both on the same LAN/VLAN.

                                  1 Reply Last reply Reply Quote 0
                                  • johnpozJ
                                    johnpoz LAYER 8 Global Moderator
                                    last edited by

                                    Well then you have something setup wrong. Or not connected how you think its connected, etc.

                                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                                    If you get confused: Listen to the Music Play
                                    Please don't Chat/PM me for help, unless mod related
                                    SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                    uxmU 1 Reply Last reply Reply Quote 0
                                    • uxmU
                                      uxm @johnpoz
                                      last edited by

                                      @johnpoz Yeah I guess so. I will try to find the reason. There is no reason to bother you with that kind of questions but I will come back if I cant make it work.

                                      Thank you ALL for your precious help! This community seems to be totally ALIVE!

                                      1 Reply Last reply Reply Quote 0
                                      • provelsP
                                        provels
                                        last edited by provels

                                        For this, both your LAN and WAN switches should be External.

                                        Private - allows VM to VM comms
                                        Internal - allows VM to VM comms plus comms to Host
                                        External - As above, plus outside world

                                        On the LAN v-switch, you can select the sharing checkbox below (I don't on mine because i have a 4-port NIC where I assign the host a port of its own). Then you can manage the VM from the host OS.
                                        8699a045-7560-4df4-afcd-60406f44649a-image.png
                                        I just run a flat network with no VLANs. I don't really see the point in a home setup, just more complexity.

                                        Internet--Modem--Host--pfSense--Switches--Access Points--Clients

                                        Only reason I'd use a VLAN would be it I was trying to use a single NIC board as a pfSense hardware firewall (Router-on-a-stick). You could use your Asus as an AP by just plugging one of the LAN (not WAN) ports into your network as long as the LAN side is configured as the same network as the rest of your LAN, but you'd still need to buy a modem. HTH

                                        Peder

                                        MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                        BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                        1 Reply Last reply Reply Quote 1
                                        • johnpozJ
                                          johnpoz LAYER 8 Global Moderator
                                          last edited by johnpoz

                                          @provels said in pfSense on Hyper-V Home Setup questions.:

                                          I don't really see the point in a home setup, just more complexity.

                                          Do you have more things on this flat network than just your PC or a couple of devices - iot, stuff that is serving up to the internet, etc.. You would use vlans or other network segments as a means to secure your network..

                                          He doesn't need a modem - he needs an AP he can use his current device as just the modem and turn off its wifi.. Or use it as well as different non filtered wifi network that is on the "wan" side of pfsense.

                                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                                          If you get confused: Listen to the Music Play
                                          Please don't Chat/PM me for help, unless mod related
                                          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                          provelsP 1 Reply Last reply Reply Quote 0
                                          • provelsP
                                            provels @johnpoz
                                            last edited by provels

                                            @johnpoz No IoT, even though my refrigerator and dishwasher could talk to the world if I desired it. No Alexa or other because I would want an always-on mic in my house..., why? I have no desire to talk to any device unless it is a phone and there is a live body on the other end. Several network receivers, couple phones, Hyper-V host that is also my main workstation with pfSense and several other workstation OS, smart TV, and a lappy for RDP. I even run G wireless with MAC filtering and hidden SSIDs (the horror!) And it's just me, so.... no need for guest nets. And no FB or Twitter even, because that is just largely the toilet of the Internet. anyway. So there.

                                            Agreed, I know he doesn't need a modem, but he will have to buy something to do what he wants. Frankly I'd just ditch the gateway on EBay and buy discreet components. Kind of depends how many of his clients are in use simultaneously as well.

                                            Peder

                                            MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                            BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

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