I am using VMware Workstation 15 inside Windows 10. I have created an Ubuntu instance under it. From another machine, I can ssh
into it if I am connected into local network, but I am unable to connect into it using the public ip of the Windows machine.
If I use Bridged network option,
ifconfig
in ubuntu host returns a local ip-address, which I can ssh into if I am in local network.One possible solution I was thinking to ssh into Windows-powershell and if I can, I can ssh into the VM.
[Q] How can I connect into Ubuntu instance that is running inside VMware Workstation using its public ip?
Accepted answer here is for the older version of VMware Workstation.
I couldn't find proper guide for the VMware Workstation 15, all the ones I find are for its older versions, as such:
=> https://www.virten.net/2013/03/how-to-setup-port-forwarding-in-vmware-workstation-9/
My original question is closed on stackoverflow (https://stackoverflow.com/q/64081856/2402577), hence I was advised to ask in here.