VirtualBox

Changes between Initial Version and Version 2 of Ticket #6403


Ignore:
Timestamp:
Mar 22, 2010 9:27:50 AM (14 years ago)
Author:
vasily Levchenko
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6403 – Description

    initial v2  
    1212
    1313Now setting the guestos to bind to 1.1.1.2:
    14 
     14{{{
    1515VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/BindIP" "1.1.1.2"
    1616
     
    2020
    2121VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 22
    22 
     22}}}
    2323Then when trying to connect to ssh -p 22 1.1.1.2 connection is refused, and wireshark dump on the hostos shows it is being reset.
    2424
    2525Testing this by binding to tcp/23 for the guestos on the outside of the NAT:
    26 
     26{{{
    2727VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP
    2828
     
    3030
    3131VBoxManage setextradata "guest os" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 23
    32 
     32}}}
    3333Now, ssh -p 23 1.1.1.2 works.  However, ssh -23 1.1.1.1 is also being forwarded to the guestos, but is not what is expected due to the BindIP of 1.1.1.2.
    3434

© 2023 Oracle
ContactPrivacy policyTerms of Use