mirror of
https://github.com/FastTunnel/FastTunnel.git
synced 2025-02-08 02:39:29 +08:00
Update README.md
This commit is contained in:
parent
458b489fb2
commit
7e32284319
15
README.md
15
README.md
|
@ -9,10 +9,9 @@
|
|||
|
||||
***如果上面两个都没有,您还可以使用下面的测试服务器。***
|
||||
|
||||
## 功能特色
|
||||
## 特性
|
||||
1. 用自定义域名访问内网web服务(常用于微信开发)
|
||||
2. 远程内网计算机 Windows/Linux/Mac
|
||||
# 快速开始
|
||||
|
||||
## 测试服务器 (请勿滥用)
|
||||
```
|
||||
|
@ -30,12 +29,11 @@ A *.ft.suidao.io
|
|||
本服务器已运行 `FastTunnel.Server` 本地可以直接运行客户端连接
|
||||
nginx反向代理已开启,web穿透可不加端口号1270即可直接访问。
|
||||
```
|
||||
## 配置服务端和客户端程序
|
||||
1. 分别在服务端和客户端PC上安装[.net core runtime]([url](https://dotnet.microsoft.com/download?missing_runtime=true)) 运行时(`v3.1`及以上版本),根据不同操作系统选择对应的运行时安装程序。
|
||||
2. 在命令行输入 `dotnet -v` 检查运行时安装是否成功。
|
||||
3. 在 [release]([url](https://github.com/SpringHgui/FastTunnel/releases)) 页面下载编译好的`zip`程序包,解压到任意目录。
|
||||
4. 分别修改客户端和服务端的配置文件 `appsettings.json`。
|
||||
5. 在程序根目录下执行 `dotnet FastTunnel.Client.dll`(客户端),`dotnet FastTunnel.Server.dll`(服务端)。
|
||||
## 快速使用
|
||||
1. 在 [releases](https://github.com/SpringHgui/FastTunnel/releases) 页面下载对应的程序到。
|
||||
2. 分别修改配置文件`appsettings.json`
|
||||
3. 服务端运行FastTunnel.Server.exe(windows),其他平台安装dotnetcore运行时,执行 dotnet FastTunnel.Server.dll
|
||||
4. 客户端运行FastTunnel.Cient.exe(windows),其他平台同安装dotnetcore运行时,执行 dotnet FastTunnel.Client.dll
|
||||
|
||||
## 1. 用自定义域名访问内网web服务
|
||||
- 例如你拥有一个服务器,公网ip地址为 `110.110.110.110` ,同时你有一个顶级域名为 `test.cc` 的域名,你希望访问 `test.test.cc`可以访问内网的一个网站。
|
||||
|
@ -45,6 +43,7 @@ nginx反向代理已开启,web穿透可不加端口号1270即可直接访问
|
|||
## 2. 远程内网计算机 Windows/Linux/Mac
|
||||
|
||||
客户端配置如下,内网有两台主机,ip如下:
|
||||
appsettings.json
|
||||
```
|
||||
"ClientSettings": {
|
||||
"Common": {
|
||||
|
|
Loading…
Reference in New Issue
Block a user