This commit is contained in:
vincent 2024-05-15 15:58:27 +08:00
parent 9b87bb5cdb
commit 93fb99d7f4

View File

@ -3,10 +3,15 @@
默认使用`bing.com`域名作为伪装. 默认使用`bing.com`域名作为伪装.
## 快速开始 ## 快速开始
确认安装好docker, docker-compose, git
### 部署服务器端
确认安装好下列软件
- docker
- docker-compose
- git
下载代码 下载代码
``` ```bash
git clone https://gittea.wingogo.top/William/hysteria_docker.git git clone https://gittea.wingogo.top/William/hysteria_docker.git
``` ```
@ -20,7 +25,11 @@ docker-compose up -d
docker-compose logs | head -n 50 docker-compose logs | head -n 50
``` ```
## 客户端配置 ### 客户端配置
可以用使用`NekoRay `,`v2rayN`客户端(其中一个)填写配置连接服务器端
- [nekoray](https://github.com/MatsuriDayo/nekoray/releases)
- [v2rayN](https://github.com/2dust/v2rayN/releases)
无域名使用IP搭建download-bandwidth 根据实际填写 无域名使用IP搭建download-bandwidth 根据实际填写
```yaml ```yaml
地址: 服务器ip 地址: 服务器ip
@ -32,7 +41,7 @@ SNI: bing.com # 伪装域名
download-bandwidth=200 download-bandwidth=200
``` ```
## 修改域名 ## 服务器端,修改域名
如果需要修改伪装域名 如果需要修改伪装域名
1. 根据新域名生成证书文件 1. 根据新域名生成证书文件
@ -49,7 +58,7 @@ download-bandwidth=200
rewriteHost: true rewriteHost: true
``` ```
## 修改端口 ## 服务器端,修改端口
修改文件`hysteria.yaml` 修改文件`hysteria.yaml`
```yml ```yml
listen: :9999 # 改为其他端口 listen: :9999 # 改为其他端口