Connect to your PLC from inside a Virtual Machine

A VPN connection allows you to access your machine as if your are on-site. When you want to access your remote machine from inside a Virtual Machine (VM) that is running on your computer, you can do so in one of two ways:

  • Establish the VPN connection from inside the VM
  • Share the computer‘s VPN connection with the VM

If neither of these options work, you my need to restart the VM or your computer entirely.

Establish the VPN connection from inside the VM

If you establish the VPN connection from inside your VM, then the steps are no different than if you’d be using any other regular computer. Of course, you do need to share your computer’s internet connection with your VM.

  • Open your VM’s network settings and share your computer’s internet connection with your VM.
  • Establish a VPN connection to your remote machine from inside the VM.

Once you have a VPN connection, you can connect to your remote machine:

Share the computer's VPN connection with the VM

If you establish the VPN connection from the computer itself, then the steps are slightly different.

Once you have a VPN connection, you can share your computer’s VPN connection with your VM and then connect to your remote machine:

  • Open your VM’s network settings and share your computer’s VPN connection (TAP or TUN adapter) with your VM.
  • Connect to your machine.

 

Kontaktu forma