mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-22 22:38:05 +03:00
Freedom & Reverse: document ipsBlocked and refine reverse examples
This commit is contained in:
+6
-12
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user