I have created a NATNetwork in VirtualBox -> Preferences -> Network -> Nat Networks with the name NatNetwork.
The details from VBoxManage is as follows
Code: Select all
$ VBoxManage list natnets
NetworkName: NatNetwork
IP: 10.1.2.1
Network: 10.1.2.0/24
IPv6 Enabled: No
IPv6 Prefix: fd17:625c:f037:2::/64
DHCP Enabled: Yes
Enabled: Yes
loopback mappings (ipv4)
127.0.0.1=2
Code: Select all
$ VBoxManage natnetwork list
NAT Networks:
Name: NatNetwork
Network: 10.1.2.0/24
Gateway: 10.1.2.1
IPv6: No
Enabled: Yes
1 network found
Code: Select all
$ VBoxManage --version
5.1.26r117224
I have check ssh with both firewall enabled and disabled. but its not working
Also i have created a test hostonly network and ssh to that ip is working fine from Mac OSX Host.
Please let me know how to enable ssh to VM via NATNetwork on a Mac OSX Host.
I have tested the SSH VIA NATNetwork in windows and linux and it works fine for me.