VirtualBox-4.1.10 doesn't forward ports into the guests
Martin Simmons
martin at lispworks.com
Tue Apr 3 09:12:15 UTC 2012
>>>>> On Mon, 02 Apr 2012 12:00:58 -0700, Yuri said:
>
> 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
How did you delete the guest?
The extra data are stored in the MyGuest.vbox file, but possible also cached
in the vbox daemons.
__Martin
More information about the freebsd-emulation
mailing list