Mode | VM→Host | VM←Host | VM1↔VM2 | VM→Net/LAN | VM←Net/LAN |
---|---|---|---|---|---|
Host-only | + | + | + | – | – |
Internal | – | – | + | – | – |
Bridged | + | + | + | + | + |
NAT | + | – | + | ||
NATservice | + | + | + |
tcp
is a mandatory attribute defining which protocol should be used for forwarding, udp
could also be used. The name guestssh
is purely descriptive and will be auto-generated if omitted. The number after --natpf
denotes the network card, as with other VBoxManage commands. vmname
.pxe
if the directory TFTP
exists in the directory where the user's VirtualBox.xml
file is kept. It is the responsibility of the user to provide vmname
.pxe
. server
share
notation. root
. As a result, if you try to configure such a port forwarding, the VM will refuse to start. --port-forward-4
switch for IPv4 and --port-forward-6
for IPv6. For example: intnet
by default. 'vmname
--nicx
hostonly. See Section 8.8, “VBoxManage modifyvm”. root
. As a result, if you try to configure such a source UDP port, the VM will refuse to start. n
: deny
, which hides any traffic not intended for the VM's network adaptor. This is the default setting. allow-vms
, which hides all host traffic from the VM's network adaptor, but allows it to see traffic from and to other VMs. allow-all
, which removes all restrictions. The VM's network adaptor sees all traffic.