NATNetwork server does not exist

Discussions related to using VirtualBox on Linux hosts.
Post Reply
dantes102
Posts: 1
Joined: 11. Jun 2021, 09:38

NATNetwork server does not exist

Post by dantes102 »

Hello,
I have a problem with nat networks on Fedora 34 host with the latest VirtualBox version (6.1.22).
I create a natnetwork on the host by VBoxManage:

[~]$ VBoxManage list natnets
NetworkName: natlab2
IP: 192.168.162.1
Network: 192.168.162.0/24
IPv6 Enabled: No
IPv6 Prefix: fd17:625c:f037:2::/64
DHCP Enabled: No
Enabled: Yes
loopback mappings (ipv4)
127.0.0.1=2

When I tried to configure a port forwarding to a guest system with:

VBoxManage natnetwork modify --netname netlab2 --port-forward-4 "ssh1:tcp:[]:1122:[192.168.162.100]:22"

But an error get out:
VBoxManage: error: NATNetwork server does not exist

Nat works well and guests reach Internet.
What can I do?
Post Reply