Hi Michael,

  Thanks for your reply.  I have tried your command but it still
failed to connect from outside to guest OS (CentOS).  In NAT mode, the
IP of the guest OS is 10.0.2.15.  After I issued 3 commands below in
Host OS (windows 2000).
VBoxManage setextradata "Linux Guest"
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" TCP
VBoxManage setextradata "Linux Guest"
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" 22
VBoxManage setextradata "Linux Guest"
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" 2222
I support can ssh to the guest OS from outside thro' port 2222.
However, I can't find any information about the port setting in
netstat -an.  Definitely, the ssh will fail from outside as the port
2222 isn't listening.  I wonder if I have something wrong during the
setting.  Could you elaborate it more to make it works?


On 5/29/07, Michael Thayer <[EMAIL PROTECTED]> wrote:
> Hello Rilawich,
>
> Try replacing
>
> "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/UDP" 0
>
> with
>
> "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" TCP
>
> Regards,
>
> Michael
>
>
> Rilawich Ango wrote:
> > Hi all,
> >   I want to set port forwarding for NAT according to the manual but it
> > doesn't work.
> > HOST OS: win2000
> > Guess OS: CentOS
> > I follow the manual to set as below.
> > VBoxManage setextradata "Linux Guest"
> > "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/UDP" 0
> > VBoxManage setextradata "Linux Guest"
> > "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" 22
> > VBoxManage setextradata "Linux Guest"
> > "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" 2222
> > However, I can't ssh to the guess os thro' port 2222.
> > Anyone can give me some suggestion to fix it?
>
>
> _______________________________________________
> vbox-users mailing list
> [email protected]
> http://vbox.innotek.de/mailman/listinfo/vbox-users
>

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to