Edit: II have also used NAT and forwarding and it's working fine ( but ibut in my case iI want cluster or jenkinsJenkins master and jenkinsJenkins slave that's why iI have created network NAT ).
I have created NAT network named NatnetworkLab in VirtualboxVirtualBox and iI cannot connect to my machine using ssh client. I have already done the port forwarding. My machine have static IpIP addresses ( 1010.0.2.1 and 10.0.2.2 ).
ssh between machine1 and machine2 works fine, but I would like use puttyPuTTY to connect to my machines directly from my host machine ( windows 10 Windows 10) using puttyPuTTY.
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 puttyPuTTY using 127.0.0.1 and port 2222 or 2223. Thanks