Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Apr 2012 12:00:58 -0700
From:      Yuri <yuri@rawbw.com>
To:        emulation@freebsd.org
Subject:   VirtualBox-4.1.10 doesn't forward ports into the guests
Message-ID:  <4F79F76A.30603@rawbw.com>

next in thread | raw e-mail | index | archive | help
I use these commands:
VBoxManage setextradata MyGuest 
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" TCP
VBoxManage setextradata MyGuest 
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" 22
VBoxManage setextradata MyGuest 
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" 2222

They worked the first time. Then I deleted that guest, created a new one 
with he same name. Now they don't work on this guest:
$ ssh -p 2222 127.0.0.1
ssh: connect to host 127.0.0.1 port 2222: Connection refused

Even though:
$ VBoxManage getextradata MyGuest enumerate
Key: GUI/LastCloseAction, Value: shutdown
Key: GUI/LastGuestSizeHint, Value: 720,400
Key: GUI/LastNormalWindowPosition, Value: 573,23,720,443
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort, Value: 22
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort, Value: 2222
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol, Value: TCP

Yuri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F79F76A.30603>