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

can I connect the client that I created using the vm to the pfsense interface in virtualbox?

Scheduled Pinned Locked Moved Virtualization
99 Posts 3 Posters 21.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.
  • S
    stephenw10 Netgate Administrator
    last edited by Jul 7, 2022, 1:48 PM

    It could affect connectivity from other hosts if the wifi network you're on has client isolation enabled.
    It would not affect connection to pfSense from internal VMs.

    1 Reply Last reply Reply Quote 0
    • E
      ezvink @stephenw10
      last edited by Jul 8, 2022, 1:34 AM

      @stephenw10
      Sorry sir, what do you mean by lease?

      it should be correct sir, because I set it to default.
      How to check MAC address in pfsense, sir? because I can't enter the web gui

      S 1 Reply Last reply Jul 8, 2022, 12:32 PM Reply Quote 0
      • S
        stephenw10 Netgate Administrator @ezvink
        last edited by Jul 8, 2022, 12:32 PM

        @ezvink said in can I connect the client that I created using the vm to the pfsense interface in virtualbox?:

        @stephenw10
        Sorry sir, what do you mean by lease?

        The DHCP server leases IP addresses to clients. The Lubuntu VM should get an IP address from pfSense if the interfaces are configured correctly.

        How to check MAC address in pfsense

        At the command line in the console run: ifconfig -a
        That will show you the MAC address of each interface along with the IP address and description.
        Compare that with the MACs in VBox to be be sure they are configured in the correct order.

        Steve

        E 1 Reply Last reply Jul 8, 2022, 12:55 PM Reply Quote 0
        • E
          ezvink @stephenw10
          last edited by Jul 8, 2022, 12:55 PM

          @stephenw10
          MAC is used like this, sir, what next, sir?
          f7fdc94d-aae7-4650-8192-92857e44ec02-image.png
          5bdb6eae-64ba-4ed0-9e9e-f4ee1f1e341c-image.png
          86512f4d-07c4-45da-a807-ccd2132fc602-image.png

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Jul 8, 2022, 1:33 PM

            Ok, and you have LAN assigned as em1 I assume?

            Is the Lunbuntu VM also using that same Internal Network?

            If you set it to DHCP does it pull an IP from pfSense?

            E 1 Reply Last reply Jul 8, 2022, 2:58 PM Reply Quote 0
            • E
              ezvink @stephenw10
              last edited by Jul 8, 2022, 2:58 PM

              @stephenw10
              yes, that's right.

              The lubuntu VM uses the same internal network sir, but different MAC's should be like that, right?

              I've set DHCP on pfsense's em1 (LAN) interface, but on the lubuntu DHCP VM it gets the same IP as the pfsense setting
              1bdf7283-3ca9-4152-88b2-30b1520251e9-image.png
              2fbd95fd-d2d7-4343-839e-a4a1ac91636f-image.png

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Jul 8, 2022, 4:44 PM

                It looks like changed the pfSense LAN IP and subnet from 192.168.10.1/24 to 192.168.15.1/24. Did you enabled the DHCP server on LAN at that step?
                Is the Lubuntu interface configured as a dhcp client?

                Steve

                E 2 Replies Last reply Jul 9, 2022, 2:42 AM Reply Quote 0
                • E
                  ezvink @stephenw10
                  last edited by Jul 9, 2022, 2:42 AM

                  @stephenw10
                  now the lubuntu VM has got a DHCP IP from pfsense sir, what's the next step?
                  70c7b66d-9c25-4bb4-b5dc-856548425ad4-image.png

                  1 Reply Last reply Reply Quote 0
                  • E
                    ezvink @stephenw10
                    last edited by Jul 9, 2022, 4:53 AM

                    @stephenw10
                    I've tried the web gui on the lubuntu VM, but still the web gui pack can't run.

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Jul 9, 2022, 3:42 PM

                      What exactly are you trying to connect to? Looks like you switched the gui to http in the previous screenshot.

                      Can the Lubuntu VM ping 192.168.15.1?

                      E 3 Replies Last reply Jul 10, 2022, 12:21 PM Reply Quote 0
                      • E
                        ezvink @stephenw10
                        last edited by Jul 10, 2022, 12:21 PM

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • E
                          ezvink @stephenw10
                          last edited by Jul 10, 2022, 12:26 PM

                          @stephenw10
                          what do you mean by this sir? I chose yes here because I followed the video tutorial that I gave the link
                          8a58fd4d-a129-48e2-8390-af552a29e438-image.png

                          1 Reply Last reply Reply Quote 0
                          • E
                            ezvink @stephenw10
                            last edited by Jul 10, 2022, 12:30 PM

                            @stephenw10
                            I've been able to connect, sir, and pfsense can already be accessed via lubuntu.

                            for the next I will install suricata and snort on this pfsense, then how to make this lubuntu interface can be secured by suricata and snort how? looks like the LAN interface in pfsense will take the IP 192.168.15.1 while the VM lubuntu IP is 192.168.15.5
                            64a6d5e3-d4f7-4af5-86aa-bb118d56ca49-image.png

                            1 Reply Last reply Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Jul 11, 2022, 4:20 PM

                              You should first read the setup instructions in the docs and in the IPS/IDS section of the forums here. Then open a thread there if you have Suricata/Snort questions, that's no longer a virtualisation problem.

                              Steve

                              E 1 Reply Last reply Jul 12, 2022, 11:45 AM Reply Quote 0
                              • E
                                ezvink @stephenw10
                                last edited by Jul 12, 2022, 11:45 AM

                                @stephenw10

                                ok ok sir, in advance I thank you for helping me and taking the time to help me thank you sir.

                                if i need you back, can i ask you back please sir?

                                1 Reply Last reply Reply Quote 0
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by Jul 12, 2022, 1:24 PM

                                  Sure, I'll answer questions as time allows.

                                  I agree with what @Patch said previously though. You need to discover how to do a lot of this for yourself in order to learn from it.

                                  Steve

                                  1 Reply Last reply Reply Quote 0
                                  • S stephenw10 referenced this topic on Jul 22, 2022, 9:11 PM
                                  99 out of 99
                                  • First post
                                    99/99
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                    This community forum collects and processes your personal information.
                                    consent.not_received