Replace dokodemo-door with tunnel (#858)

This commit is contained in:
Navid Mafi
2026-06-02 02:36:35 +08:00
committed by GitHub
parent abe0e4ce92
commit 96736c79b3
46 changed files with 55 additions and 55 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ iptables -t mangle -A OUTPUT -m owner ! --gid-owner 23333 -j XRAY_SELF
"inbounds": [
{
"port": 12345,
"protocol": "dokodemo-door",
"protocol": "tunnel",
"settings": {
"allowedNetwork": "tcp,udp",
"followRedirect": true
@@ -159,7 +159,7 @@ WantedBy=multi-user.target
{
"tag": "tproxy-in",
"port": 12345,
"protocol": "dokodemo-door",
"protocol": "tunnel",
"settings": {
"allowedNetwork": "tcp,udp",
"followRedirect": true
+1 -1
View File
@@ -103,7 +103,7 @@ lsmod | grep wireguard
{
"listen": "127.0.0.1",
"port": 12345, // <port>
"protocol": "dokodemo-door",
"protocol": "tunnel",
"settings": {
"rewriteAddress": "127.0.0.1"
},
+1 -1
View File
@@ -32,7 +32,7 @@ sudo curl -oL /usr/local/share/xray/geosite.dat https://github.com/Loyalsoldier/
{
"tag": "all-in",
"port": 12345,
"protocol": "dokodemo-door",
"protocol": "tunnel",
"settings": {
"allowedNetwork": "tcp,udp",
"followRedirect": true
@@ -34,7 +34,7 @@
{
"tag": "all-in",
"port": 12345,
"protocol": "dokodemo-door",
"protocol": "tunnel",
"settings": {
"allowedNetwork": "tcp,udp",
"followRedirect": true
+1 -1
View File
@@ -5,7 +5,7 @@
## 查看流量信息
配置方法与 v2fly 一致。
查看流量信息是 xray 命令行的其中一个功能。配置内设置的 api dokodemo-door 端口,即为 `--server` 参数的端口。
查看流量信息是 xray 命令行的其中一个功能。配置内设置的 api tunnel 端口,即为 `--server` 参数的端口。
```bash
xray api statsquery --server=127.0.0.1:10085 #查看所有流量
@@ -111,7 +111,7 @@ Linux 使用`Netfilter`来管理网络,`Netfilter`模型如下:
"inbounds": [
{
"port": 12345,
"protocol": "dokodemo-door",
"protocol": "tunnel",
"settings": {
"allowedNetwork": "tcp,udp",
"followRedirect": true