Skip to content

Commit

Permalink
调整readme
Browse files Browse the repository at this point in the history
  • Loading branch information
codingmiao committed Dec 22, 2023
1 parent 16b2bed commit 3541f8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ hppt,一款基于纯HTTP协议的内网穿透、反向代理工具
## 示例一 内网穿透,通过公网转发,访问无公网IP的服务器

假设你家里有一台台式机(ssh端口为22),并且有一台公网VPS服务器(ip 112.242.68.66),你想在公司用笔记本登录家里的台式机,可按如下结构部署:

![示例1](_doc/img/1.jpg)

1、拷贝cs文件夹到公网服务器上:
Expand Down Expand Up @@ -97,6 +98,7 @@ server {

## 示例二 通过http端口,反向代理访问内部服务器的
假设你有一个服务器集群,仅有一个nginx提供了80端口对外访问(112.242.68.66:80),你想要访问集群中的应用服务器(192.168.0.2)的22端口,则可以按如下结构部署

![示例2](_doc/img/2.jpg)

1、拷贝ss文件夹到网关服务器上:
Expand Down

0 comments on commit 3541f8a

Please sign in to comment.