diff --git a/docs/config/reverse.md b/docs/config/reverse.md index 4d4d2384..927a7f25 100644 --- a/docs/config/reverse.md +++ b/docs/config/reverse.md @@ -134,7 +134,9 @@ outbound: "tag": "out", "protocol": "freedom", "settings": { - "redirect": "127.0.0.1:80" + "redirect": "127.0.0.1:80", + // 解除默认安全策略后,仅放行 127.0.0.1 + "ipsBlocked": ["!127.0.0.1/32"] } } ``` @@ -144,17 +146,9 @@ outbound: // 连接到 portal "protocol": "vmess", "settings": { - "vnext": [ - { - "address": "portal 的 IP 地址", - "port": 1024, - "users": [ - { - "id": "5783a3e7-e373-51cd-8642-c83782b807c5" - } - ] - } - ] + "address": "portal 的 IP 地址", + "port": 1024, + "id": "5783a3e7-e373-51cd-8642-c83782b807c5" }, "tag": "interconn" } diff --git a/docs/en/config/reverse.md b/docs/en/config/reverse.md index 6bb2d6a1..7f54c731 100644 --- a/docs/en/config/reverse.md +++ b/docs/en/config/reverse.md @@ -134,7 +134,9 @@ Outbounds: "tag": "out", "protocol": "freedom", "settings": { - "redirect": "127.0.0.1:80" + "redirect": "127.0.0.1:80", + // Override the default safe policy to allow only 127.0.0.1 + "ipsBlocked": ["!127.0.0.1/32"] } } ``` @@ -144,17 +146,9 @@ Outbounds: // Connect to portal "protocol": "vmess", "settings": { - "vnext": [ - { - "address": "IP Address of Portal", - "port": 1024, - "users": [ - { - "id": "5783a3e7-e373-51cd-8642-c83782b807c5" - } - ] - } - ] + "address": "IP Address of Portal", + "port": 1024, + "id": "5783a3e7-e373-51cd-8642-c83782b807c5" }, "tag": "interconn" } diff --git a/docs/ru/config/reverse.md b/docs/ru/config/reverse.md index 29ed7c88..f85a61ce 100644 --- a/docs/ru/config/reverse.md +++ b/docs/ru/config/reverse.md @@ -134,7 +134,9 @@ outbound: "tag": "out", "protocol": "freedom", "settings": { - "redirect": "127.0.0.1:80" + "redirect": "127.0.0.1:80", + // Переопределить политику безопасности по умолчанию и разрешить только 127.0.0.1 + "ipsBlocked": ["!127.0.0.1/32"] } } ``` @@ -144,17 +146,9 @@ outbound: // Подключение к portal "protocol": "vmess", "settings": { - "vnext": [ - { - "address": "IP-адрес portal", - "port": 1024, - "users": [ - { - "id": "5783a3e7-e373-51cd-8642-c83782b807c5" - } - ] - } - ] + "address": "IP-адрес portal", + "port": 1024, + "id": "5783a3e7-e373-51cd-8642-c83782b807c5" }, "tag": "interconn" }