Posted under » Linux » Apache on 20 January 2023
Sometimes it is better to connect a server that is in VMware form in a windows PC.
I used to prefer using a bridged network but lately, I find it more secure using NAT.
You need to open vmware and also the windows firewall if need to connect from outside
To open VMware (I am using VMware 16), you will need to go to Edit > Virtual Network Editor
You will need to be admin of the PC to 'change settings'.
For my router, my PC IP looks like 192.168.1.7. The internal NAT IP may look like 192.168.78.129.
To connect via SSH, you will need to connect to the internal IP. If from the machine itself, you can connect directly.
However, if from outside PC, then first you must map incoming port.
I am interested in port 22 and 80 only.
The next step is to open the port in Windows Defender Firewall.
I think this is very secure because not only does we need to open the Windows Firewall,
we also need to map or open the port in VMWare.