No access to VM via host only adapter from host since 6.1.28

Discussions related to using VirtualBox on Linux hosts.
Post Reply
brwa6075
Posts: 2
Joined: 24. Nov 2021, 16:54

No access to VM via host only adapter from host since 6.1.28

Post by brwa6075 »

Since Virtualbox 6.1.28 I have the issue, that I have no any access from host to VMs via host only adapter.
VM is setup with NAT at first network adapter and the second with host only adapter (vboxnet0).

Host is Ubuntu 18.04 and VM is Ubuntu 18.04 Server

Found following log messages:

00:00:00.163067 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Assertion failed: [SUCCEEDED(hrc)] at '/home/vbox/vbox-6.1.30/src/VBox/Main/src-client/ConsoleImpl2.cpp' (5856) in int Console::i_configNetwork(const char*, unsigned int, unsigned int, INetworkAdapter*, PCFGMNODE, PCFGMNODE, PCFGMNODE, bool, bool).
00:00:00.163072 COM RC=E_ACCESSDENIED (0x80070005).
00:00:00.163073 Please contact the product vendor!}, preserve=false aResultDetail=0
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: No access to VM via host only adapter from host since 6.1.28

Post by scottgus1 »

There is a new requirement for Host-Only networks since 6.1.28 that plugs a security hole. See https://www.virtualbox.org/manual/ch06. ... k_hostonly, at the end of the section, starting at "On Linux, Mac OS X and Solaris Oracle VM VirtualBox...".
brwa6075
Posts: 2
Joined: 24. Nov 2021, 16:54

Re: No access to VM via host only adapter from host since 6.1.28

Post by brwa6075 »

Many thanks for the advice.

After creating /etc/vbox/networks.conf with necessary network ranges I have again access to my VMs.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: No access to VM via host only adapter from host since 6.1.28

Post by scottgus1 »

Great! Glad you're up and running.
Post Reply