Page 1 of 1

port forwarding in NAT NETWORK doesn't work

Posted: 7. Nov 2013, 05:04
by Jummy Zhu
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:

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"
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

Re: port forwarding in NAT NETWORK doesn't work

Posted: 8. Nov 2013, 21:24
by noteirak
Try upgrading to 4.3.2 and check if there is any improvement.

Re: port forwarding in NAT NETWORK doesn't work

Posted: 13. Nov 2013, 08:37
by Jummy Zhu
Aha, :D this new version works fine. Thanks very much!!!

Best Regards,
Jummy