Establishing an SSH connection to a virtual machine on a distant machine.
Establishing an SSH connection to a virtual machine on a distant machine.
It relies on the networking setup on the virtual machine and where your VPN is linked relative to it. If you rent a commercial VPS, the VMs connect directly to the public Internet using public IPs. At home, the default is a private NAT network, needing port forwarding or a bridged connection to the real LAN so the VMs can receive IP addresses like physical devices.
I'm setting it up at home and I'm not sure how to connect the VM to the local network.
Adjust the network settings to use a bridge configuration within the virtual machine settings.