Freedom & Reverse: document ipsBlocked and refine reverse examples

This commit is contained in:
Meow
2026-04-16 21:01:10 +08:00
parent cad5b37c0f
commit ebb6485557
3 changed files with 18 additions and 36 deletions
+6 -12
View File
@@ -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"
}
+6 -12
View File
@@ -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"
}
+6 -12
View File
@@ -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"
}