windows in the port forwarding configuration

  Local windows open vpn connection to the remote system can only be connected to the terminal in Remote Desktop is not very complicated?

Here to share a way, windows configure port forwarding, local Direct Connect remote desktop in the terminal

 

Connect remote desktop, terminal links in the desktop

 

 

 

 

As shown, the login is successful

Next, we need to know the IP address of the virtual machine's IP address (the destination address) and Remote Desktop (source address)

Operating in Remote Desktop

 

 

 

With administrator privileges to run cmd 

# netsh interface portproxy add v4tov6 listenport=14942 connectaddress=2409:8080:5a0a:502b::2  connectport=22

Explanation: if the destination address of the above-described mode to use v4tov6 ipv6 ipv4 if necessary replaced for v4tov4; 

         listenport the source address is the Remote Desktop listening port;

   connectaddress address where the destination address is a virtual address of the terminal, with the back of the virtual machine is connectport port (primary purpose is Xshell remote virtual machine, the forwarding port 22 herein)

After the successful implementation, configuration xshell on the local machine pc

 

 

 

 

Host ports are in remote desktop configurations;

 

 

 

A successful connection, enter the user password to log it.

 

Guess you like

Origin www.cnblogs.com/jimmyyang/p/11718605.html