mirror of
https://github.com/Dichgrem/singbox-example.git
synced 2025-08-02 01:49:31 -04:00
update:readme
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
## singbox-example
|
## singbox-example
|
||||||
|
|
||||||
### **安装singbox内核**
|
### 安装singbox内核
|
||||||
```
|
```
|
||||||
Debian
|
Debian
|
||||||
bash <(curl -fsSL https://sing-box.app/deb-install.sh)
|
bash <(curl -fsSL https://sing-box.app/deb-install.sh)
|
||||||
@ -13,7 +13,7 @@ bash <(curl -fsSL https://sing-box.app/arch-install.sh)
|
|||||||
```
|
```
|
||||||
默认的配置文件在路径 ``/etc/sing-box/config.json ``下,运行文件在``/usr/local/etc/sing-box/config.json`` 下。
|
默认的配置文件在路径 ``/etc/sing-box/config.json ``下,运行文件在``/usr/local/etc/sing-box/config.json`` 下。
|
||||||
|
|
||||||
### **生成配置文件**
|
### 生成配置文件
|
||||||
|
|
||||||
- UUID生成:``sing-box generate uuid``
|
- UUID生成:``sing-box generate uuid``
|
||||||
- PrivateKey和PublicKey生成:``sing-box generate reality-keypair``
|
- PrivateKey和PublicKey生成:``sing-box generate reality-keypair``
|
||||||
@ -45,4 +45,3 @@ vless://<UUID>@<IP>:<端口>?security=reality&sni=<域名>&fp=<utls浏览器指
|
|||||||
- 编写完成后即可导入一个客户端,开始使用!
|
- 编写完成后即可导入一个客户端,开始使用!
|
||||||
|
|
||||||
- 如果你想使用原生singbox客户端,参考[这里](singbox-example/client/example-node/single-node-core.yaml),即单节点配置.
|
- 如果你想使用原生singbox客户端,参考[这里](singbox-example/client/example-node/single-node-core.yaml),即单节点配置.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user