MGunselmann ha scritto:
Hello,
I am using Virtualbox v1.6.2 with ubuntu 7.10 for host system and I have a little problem with my ubuntu 7.10 for guest system. It is attachted via NAT and I have no problems to log in via ssh from the guest to the host. But in the opposite direction, it doesn't work. When I ping the guest from the host, I get "Packet filtered" and an ssh-login doesnt work, too.
Neither iptables nor an other netfilter software is running on the guest.
Thank you  in advance for your help.

Michael Gunselmann



ps: sorry, that my english is so bad - I am from germany.

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users
Hi,
you can redirect the request on port 8022 by using "VBoxManage setextradata" specifing the machine name and the relative TCP ports on the host and on the guest as the example reported on the section "6.4.1 Configuring port forwarding with NAT" of the official manual:

An example: on a machine named "mymachine"

VBoxManage setextradata mymachine "VBoxInternal/Devices/pcnet/0/LUN#0/Config/sshd/Protocol" TCP VBoxManage setextradata mymachine "VBoxInternal/Devices/pcnet/0/LUN#0/Config/sshd/GuestPort" 22 VBoxManage setextradata mymachine "VBoxInternal/Devices/pcnet/0/LUN#0/Config/sshd/HostPort" 8022"

another example of port forwarding is on my blog (excuse for publicity and for my english):

http://translate.google.it/translate?u=http%3A%2F%2Fadoldo.wordpress.com%2F2008%2F04%2F29%2Fserver-web-virtuale-con-virtualbox-port-forwarding%2F&hl=it&ie=UTF8&sl=it&tl=en

In few words, STOP the machine, use the script, check if the port 8022 is in LISTEN on the host and use
ssh -p 8022 [EMAIL PROTECTED] (the guest machine)

Enjoy,
Antonio

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

Reply via email to