当前位置:网站首页>利用PuTTY配置端口映射,实现外网对服务器的访问
利用PuTTY配置端口映射,实现外网对服务器的访问
2022-06-22 04:05:00 【龟速扣代码】
实现外网对服务器的访问,有VPN和端口映射.
端口映射大抵有三种:
1-配置路由器,设置虚拟服务器,
2-配置PortTunnel,
3-配置PuTTY
前面两种涉及到硬件路由器,和服务器端配置.在实际一般工作中不常用.所以本文主要讲PuTTY实现端口映射的方式是.
PuTTY实现端口映射较为简单.下载PuTTY软件.然后开始配置
1: 配置外端本地端口, 在连接(Connection)-->SSH-->通道(Tunnal)中配置.
例如30333, 配置目标服务的 服务器IP:port ,然后按添加
在映射的端口就会形成记录, 记录格式是 L3033 服务器IP:Port

2- 配置 服务器的SSH ,在 会话(Session)配置选项中配置

3- 一般服务器都会配置用户验证, 用户名和密钥文件
在 连接(Connection)-->数据(data)中配置用户名
在 连接(Connection)-->SSH-->验证(Auth)中配置密钥


4-- 密钥格式是 ppk格式,若收到的登录密钥不是这个格式, 需要使用 PuTTYGen.exe来进行密钥格式转化
5-- 全部设置完毕后,点击保存, 方便下次直接使用. 若是需要变动, 点击对应的session名后, 在点击 载入,便可编辑对应
session的配置选项
边栏推荐
- Flutter performance optimization
- Fonctionnement de base du tableau de séquence
- Is the first woman coming to the 3A mobile game? Recognized by IGN, can "in shining name" stand out from the encirclement
- Quickly master asp Net authentication framework identity - user registration
- IDEA安装及其使用详解教程
- 插入排序
- 在线文本按行批量反转工具
- fastadmin列表多图预览(放大预览,轮播)一行代码
- 图的BFS
- Laravel implements soft deletion
猜你喜欢

Multithread interrupt usage

【写文章神器】标记语言Markdown的使用

IIR滤波器设计基础及Matlab设计示例

基于SSM的博客系统【带后台管理】
![[Niu Ke's questions -sql big factory interview questions] no1 An audio short video](/img/88/b9d5a6d6196f72cf6808d610e3b8fd.png)
[Niu Ke's questions -sql big factory interview questions] no1 An audio short video

图的BFS

Blazor University (31) form - Validation

Fonctionnement de base du tableau de séquence

【牛客刷题-SQL大厂面试真题】NO1.某音短视频

Shutter status management
随机推荐
FaceShifter.ipynb
yum命令
Experience and summary of embedded software testing
Fatal NI connect error 12170.报错处理
[shell] method of adding 1 to 100
WPF achieves star effect
Code of ultrasonic rangefinder based on 51 (screenshot version)
Solutions pour l'écran bleu idea
Ora-48132 ora-48170 appears in the alarm log
【写文章神器】标记语言Markdown的使用
Bubble sort
Blazor University (31) form - Validation
Cloud security daily 220621: Intel microcode vulnerability found in Ubuntu operating system, which needs to be upgraded as soon as possible
Solend闹剧背后的「DeFi道德悖论」
With this set of templates, it is easier to play with weekly, monthly and annual reports
Topological sorting
AI writes its own code to let agents evolve! The big model of openai has the flavor of "human thought"
Official competition volume and "answer" of "Cyberspace Security" of secondary vocational group in 2019 national vocational college skills competition
插入排序
Read stream special attention