当前位置:网站首页>Use putty to configure port mapping to realize the access of the external network to the server

Use putty to configure port mapping to realize the access of the external network to the server

2022-06-22 04:15:00 Turtle quick buckle code

Realize the access of the external network to the server , Yes VPN And port mapping .

Port mapping There are probably Three :

1- Configure router , Set up the virtual server ,

2- To configure PortTunnel,

3- To configure PuTTY

The first two involve hardware routers , And server-side configuration . Not commonly used in practical general work . So this article mainly talks about PuTTY The way to implement port mapping is .

PuTTY It is easy to implement port mapping . download PuTTY Software . Then start configuration

1: Configure the external end local port , stay Connect (Connection)-->SSH--> passageway (Tunnal) Middle configuration .

for example 30333, Configure the target service The server IP:port , Then press add

A record will be formed on the mapped port , The record format is L3033  The server IP:Port


2- To configure Server's SSH , stay conversation (Session) Configuration options


3- Generally, the server will configure user authentication , User name and key file

stay Connect (Connection)--> data (data) Configure the user name in

stay Connect (Connection)-->SSH--> verification (Auth) Configure the key in




4-- The key format is ppk Format , If the login key received is not in this format , Need to use PuTTYGen.exe To convert the key format

5-- When all settings are complete , Click save , Easy to use next time . If changes are required , Click the corresponding session Name after , Click on load , Can be edited Corresponding

session Configuration options

原网站

版权声明
本文为[Turtle quick buckle code]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206220405099541.html