mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-24 00:48:39 +08:00
enable ipv6
This commit is contained in:
14
README.md
14
README.md
@@ -60,6 +60,20 @@ docker run -d -p 4600:4100 -e UUID=ce6d9073-7085-4cb1-a64d-382489a2af94 zizifn/n
|
||||
```
|
||||
> 如果你想让 DNS IPV4 优先, 请设置环境变量DNSORDER=ipv4first
|
||||
|
||||
### Command
|
||||
|
||||
``` bash
|
||||
export UUID=ce6d9073-7085-4cb1-a64d-382489a2af94 PORT=4100 node ./dist/apps/node-vless/main.js
|
||||
```
|
||||
|
||||
小内存:
|
||||
|
||||
``` bash
|
||||
export UUID=ce6d9073-7085-4cb1-a64d-382489a2af94 PORT=4100 SMALLRAM=true node ./dist/apps/node-vless/main.js
|
||||
```
|
||||
> 如果你想让 DNS IPV4 优先, 请设置环境变量DNSORDER=ipv4first
|
||||
|
||||
|
||||
|
||||
## 客户端 v2rayN 配置
|
||||
|
||||
|
||||
4
dist/apps/node-vless/main.js
vendored
4
dist/apps/node-vless/main.js
vendored
@@ -5169,7 +5169,11 @@ function initAsClient(websocket, address, protocols, options) {
|
||||
});
|
||||
});
|
||||
|
||||
if (opts.finishRequest) {
|
||||
opts.finishRequest(req, websocket);
|
||||
} else {
|
||||
req.end();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
2
dist/apps/node-vless/main.js.map
vendored
2
dist/apps/node-vless/main.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user