Jump windows port

// intranet client port 33306 is forwarded to the external network, the local connection
SSH -L 3306: 10.0.0.208: 3306 [email protected]
- Run through git bash
--10.0.0.208: client machine 3306 ip network port
--180.180.180.182 clients outside ports
- 3306 and then a local connection, enter the account password to client mysql

 

networks have been established within the window ftp
first installed httpserver npm install -g httpserver
execution server at a local folder path cmd file
E: \ JAVA development files> httpserver

 

widows intermediate jump, use scenarios, the customer needs vpn connection as a computer connected vpn jump
netsh interface portproxy add v4tov4 listenaddress = 192.168.0.11 listenport = 3506 connectaddress = 192.168.21.214 connectport = 30001

#listenaddress to listen ip address, ip address that is finally accessed.
#connectadress to link the server address, which is RealServer
#port would not explain, it is the port.

To see all listening ports
#netsh interface portproxy show all

To delete a rule,
execute the command:
#netsh interface that the portproxy the Delete v4tov4 ListenAddress = 3506 = 127.0.0.1 listenport

Guess you like

Origin www.cnblogs.com/joker331/p/11024955.html