can I connect the client that I created using the vm to the pfsense interface in virtualbox?
-
There are many ways you could set this up. If you are following some tutorial/course then do it that way but you must tell us what you are trying to do otherwise we are guessing!
That youtube video you linked to is exactly how I would do it and what I was suggesting you do previously.
Note that when he connects to the pfSense webgui using the internal address he is doing it from an Ubuntu VM and not the VBox host, which is Windows. Because the Ubuntu VM is on the 'Internal Network' and that is assigned as LAN he is able to connect.Steve
-
I followed the video link that I gave, sir, and the result is still not running the web gui.
in the lubuntu VM, what should the network settings be like sir? I tried DHCP but it didn't work, I tried only the local link, it doesn't work, sir
-
I strongly recommend having everything using DHCP to avoid configuration issues. At least initially.
Do you still have three NICs on the pfSense VM? Are you sure the one you have assigned as LAN is the adapter connected to 'Internal Network'? Check the MAC addresses to confirm.Steve
-
@stephenw10
I have all settings DHCP sir, but still the web gui can't run on the lubuntu VM even on the host it can't -
Is it pulling a DHCP lease?
Does the pfSense LAN MAC address show it's using the correct NIC? The one configured as Internal Network.
-
@stephenw10
Sorry sir, before I answer your question. I want to ask, does the WI-FI network have an effect on running this pfsense? because what I see on youtube most people use ethernet instead of wi-fi -
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. -
@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 -
@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
-
@stephenw10
MAC is used like this, sir, what next, sir?
-
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?
-
@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
-
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
-
@stephenw10
now the lubuntu VM has got a DHCP IP from pfsense sir, what's the next step?
-
@stephenw10
I've tried the web gui on the lubuntu VM, but still the web gui pack can't run. -
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?
-
This post is deleted! -
@stephenw10
what do you mean by this sir? I chose yes here because I followed the video tutorial that I gave the link
-
@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
-
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