From owner-freebsd-emulation@FreeBSD.ORG Mon Apr 2 19:01:00 2012 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58EB4106566C for ; Mon, 2 Apr 2012 19:01:00 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 442E58FC0A for ; Mon, 2 Apr 2012 19:01:00 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id q32J0w9u041379 for ; Mon, 2 Apr 2012 12:00:59 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4F79F76A.30603@rawbw.com> Date: Mon, 02 Apr 2012 12:00:58 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120316 Thunderbird/10.0.3 MIME-Version: 1.0 To: emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: VirtualBox-4.1.10 doesn't forward ports into the guests X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2012 19:01:00 -0000 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