vbox Linux guest behavior in FreeBSD

I am trying to setup my laptop with FreeBSD so I can work while I am away from home. I have FreeBSD 14.3 (before 14.2), and installed in VirtualBox Windows 10 for setup my Fortinet VPN. Everything work fines except for the slowness of windows, so I decided to install Mageia Linux and I have a weird problem. When I configure network adapter attached as NAT, I just can't ping anywhere outside of the guest, and cannot nmap any port anywhere, but I can navigate internet except that my forticlient app cannot connect(iptables and firewall in Linux is disabled). When I configure network adapter attached as bridged adapter, my router assign an IP to the guest and everything is fine but after a couple of minutes I lost connectivity from Linux and the FreeBSD host. I cannot ping, navigate, everything gets isolated from both host and guest. I thought it was a WIFI adapter thing but I tried 3 different USB adapter and same thing. Then I thought it could be the Linux distro but I exported to a Linux host and Windows host and worked fine as expected.

Any hints on how to fix at least one scenario so it can work as I expect?
 
regarding Windows: if virtualized its performance does not seem to be consistent - see https://forums.freebsd.org/threads/idle-windows-11-bhyve-guests-high-cpu-usage.94424/ and https://forums.freebsd.org/threads/performance-of-windows-10-vm-under-virtualbox-and-bhyve.96779/ . From my experience with my clients, with Linux/KVM you have a higher chance of having a decent speedy instance of Windows in a VM.

Regarding your networking: I have had quite some network issues with VirtualBox, except for the NAT configuration. Furthermore, I would stay away from having a bridge with a wifi network interface - especially with FreeBSD. Such a configuration is begging for troubles.

with your ping problem in your NAT configuration - did you configure any firewall on FreeBSD or the VM?
 
Back
Top