NAT w/ Debian Hosts and Guest
Posted: 20. Aug 2009, 19:34
Having trouble trying to ssh into a guest. Both host and guest are running Debian Lenny. The host IP is 10.84.1.81 and the guest 192.168.0.10, here is the config of the port forwarding:
netstat output on the host
netstat output on the guest (copied not cut and paste)
NIC Info from VBoxManage showvminfo
I can ssh to the host from anywhere and ssh to the guest when logged into the virtual machine. When I try to ssh in via the host or network it just hangs with no response and eventually times out. I've disabled the firewall on the host, guest has no firewall and the guest accesses the network fine.
Thanks for any help,
Ken
Code: Select all
$ VBoxManage getextradata "sageserver" enumerate
VirtualBox Command Line Management Interface Version 3.0.4
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
Key: GUI/SaveMountedAtRuntime, Value: yes
Key: GUI/ShowMiniToolBar, Value: yes
Key: GUI/MiniToolBarAlignment, Value: bottom
Key: GUI/LastWindowPostion, Value: 298,195,720,451
Key: GUI/Fullscreen, Value: off
Key: GUI/Seamless, Value: off
Key: GUI/AutoresizeGuest, Value: on
Key: GUI/MiniToolBarAutoHide, Value: on
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/sagessh/Protocol, Value: TCP
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/sagessh/GuestPort, Value: 22
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/sagessh/HostPort, Value: 2222
Code: Select all
$ netstat -na | grep 2222
tcp 0 0 0.0.0.0:2222 0.0.0.0:* LISTEN
Code: Select all
$ netstat -na | grep 22
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
Code: Select all
NIC 1: MAC: 08002753879B, Attachment: NAT (192.168/16), Cable connected: on, Trace: off (file: none), Type: Am79C970A, Reported speed: 0 MbpsThanks for any help,
Ken