I'm trying to configure virtualbox to allow access from outside (including the host) to ssh server running on guest system (Linux Mint). I know that i can use NAT (default setting) with port forwarding. If i'm right that in the port forwarding settings under the "host IP" field i should set my host IP, eg. if this is the IP address of my Windows host?


You can leave Host IP blank. Example:

Name: SSH

Protocol: TCP

Host Port: 2222

Guest Port: 22

After, you can connect with PuTTY for example with IP Address and port 2222.

  • where do you put these settings – yoyo_fun Feb 21 '17 at 11:56
  • 1
    @yoyo_fun Go to your Virtual Machine Settings->Network->Advanced->Port Forwarding, there you can click + sign on the right and add a rule. – Dragon Feb 21 '17 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.