port forwarding in NAT NETWORK doesn't work
Posted: 7. Nov 2013, 05:04
Dear all,
I'm using virtualbox 4.3.0 r89960 on Windows 7 64bit host, and I plan to intercommunicate between Linux guest hosts, I set the network type as NAT Network, the procedure to set the nat network is as below:
I enabled the port forwarding, I wish to ssh to the guest linux os 22 port via my host port 10022, but when I try to connect using putty, it shows connection refused. Firewall is not running and sshd service is ok in guest os.
If I changed the network type from NAT network to NAT, then the port forward is working.
Do you have the same situation?
Many thanks.
Jummy
I'm using virtualbox 4.3.0 r89960 on Windows 7 64bit host, and I plan to intercommunicate between Linux guest hosts, I set the network type as NAT Network, the procedure to set the nat network is as below:
Code: Select all
VBoxManage natnetwork add -t Management -n "10.7.78.0/24" -e
VBoxManage natnetwork modify -t Management -h on
VBoxManage natnetwork start -t Management
VBoxManage natnetwork modify -t Management -p "ssh:tcp:[]:10022:[10.7.78.15]:22"If I changed the network type from NAT network to NAT, then the port forward is working.
Do you have the same situation?
Many thanks.
Jummy