Skip to main content
1 of 3

virtualbox network NAT connect via SSH client

I have created NAT network named NatnetworkLab in Virtualbox and i cannot connect to my machine using ssh client. I have already done the port forwarding. My machine have static Ip ( 10.0.2.1 and 10.0.2.2 )

ssh between machine1 and machine2 works fine, but I would like use putty to connect to my machines directly from my host machine ( windows 10 ) using putty.

I have added rules

  • machine 1 127.0.0.1 2222 10.0.2.1 22
  • machine 1 127.0.0.1 2223 10.0.2.2 22

I have of course tried to connect via putty using 127.0.0.1 and port 2222 or 2223. Thanks