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

    Virtual Router / Remove Host Connectivity

    Scheduled Pinned Locked Moved Virtualization
    23 Posts 2 Posters 2.2k 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.
    • KOMK
      KOM
      last edited by

      OK, so you've got a WAN that gets an IP via DHCP from the hotel.  I'm not great with wifi but with a regular NIC you would give it a static IP address in the private range eg 192.168.100.1/24 and no gateway.  Enable a DHCP server and give it a range of usable addresses and that should be about it.

      A lot of hotels use a voucher system with their guest wifi, and this involves going to a portal page and getting a voucher.  I have no idea how you would handle that if that's the case.

      How do you currently have your WAN and LAN configured in pfSense?

      1 Reply Last reply Reply Quote 0
      • F
        Flyken
        last edited by

        There isn't, it just straight to internet.. and so let me get this straight, two nics on the vm, give my host pc a static ip, make a NAT nic on the vm as WAN, then make a bridged nic for LAN?

        and currently there is no configuration, id like to start over so im not fussing with a mess.

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

          give my host pc a static ip

          Give your pfSense LAN NIC a static IP.  Your host computer will get a dynamic IP from the hotel.

          make a NAT nic on the vm as WAN, then make a bridged nic for LAN?

          Yes.

          1 Reply Last reply Reply Quote 0
          • F
            Flyken
            last edited by

            the thing is, im not sure how to specify the virtual nic, to connect to the physical nic in my pc, i dont see the option to give it the physical nic.. also i've booted up pfsense with a NAT was wan, and a bridged as lan, given the lan a 192.168.2.100 ip, and it told me to go to that to configure it, i also set up wan with dhcp, and it gave it 192.168.159.129/24, both wan and lan are /24 bit

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

              i dont see the option to give it the physical nic

              I don't have a multi-NIC rig so I don't know about that.  Virtualbox allows you to select which NIC to map to.  I assume VMware must have the same thing.  Check your NIC config (I assume you added a second NIC to the VM?) and see if the vNIC properties let you choose your physical NIC.

              it told me to go to that to configure it

              That's right.  You have to have a system on the LAN network to get access to the WebGUI.  Try it from a wireless device that is not your PC.  Make sure you have configured a DHCP server on LAN or your devices won't get an IP address.

              1 Reply Last reply Reply Quote 0
              • F
                Flyken
                last edited by

                ok ill get lan set up with dhcp, and ill try it with my tablet, (it runs normal windows), thank you so much for you help if this works, i really appreciate it.

                also, will i be able to connect my host pc, my main host pc to this new virtual router? (i can use a third USB wifi adapter if need be)

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

                  btw in VMware, to ma a physical NIC to a vNIC, you need to use their Virtual Network Editor.  I found this:

                  https://www.pluralsight.com/blog/it-ops/vm-workstation-advanced-networking

                  Look under the Custom Networking section.

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

                    I've set up everything how you said, second physical nic assigned to virtual nic, via bridging, assigning dhcp to wan and lan, assigning bridged nic to lan, nat to wan, and i still can't seem to get to the web configurator, im not sure how to access the network to get to it.

                    How are you testing?  You can't use your PC.  You have to use a device that is connected to the AP.

                    1 Reply Last reply Reply Quote 0
                    • F
                      Flyken
                      last edited by

                      well i think i figured it out, i set it up just like you said, use my win 10 VM to set up the AP via webconfig, THEN, i can connect to it.. sorry if im acting stupid

                      1 Reply Last reply Reply Quote 0
                      • F
                        Flyken
                        last edited by

                        I am inside the web config, and it seems to be working on my win 10 VM, but there isn't any internet getting through, wont let me hit google or anything, any idea's?

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

                          https://doc.pfsense.org/index.php/Connectivity_Troubleshooting

                          It could be lots of things.

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