Added Xray usage example
This commit is contained in:
parent
8caa942114
commit
71dd0726e0
69
README.md
69
README.md
@ -10,6 +10,41 @@
|
||||
- Суммированный список IP-адресов: `ipsum.lst`
|
||||
- **Публичный BGP сервер**, где используется суммированный список IP-адресов: `165.22.127.207` (AS 65412)
|
||||
|
||||
## Пример использования Xray
|
||||
|
||||
```json
|
||||
{
|
||||
"routing": {
|
||||
"rules": [
|
||||
{
|
||||
"ip": [
|
||||
"ext:geoip.dat:antifilter"
|
||||
],
|
||||
"type": "field",
|
||||
"outboundTag": "proxy"
|
||||
},
|
||||
{
|
||||
"domain": [
|
||||
"ext:geosite.dat:antifilter-community"
|
||||
],
|
||||
"type": "field",
|
||||
"outboundTag": "proxy"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"outboundTag": "direct"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
Пример RoutingA для V2RayA:
|
||||
`default: direct`
|
||||
`ip(geoip:refilter)->proxy`
|
||||
`domain(ext:"LoyalsoldierSite.dat:refilter")->proxy`
|
||||
|
||||
|
||||
---
|
||||
|
||||
**Re:filter** is an attempt to create a relevant list of blocked domains and IPs in Russia, along with popular domains that are also blocked for Russian users. This repository contains all the source code for the RKN domain list filtration process, and (TBD: regular) releases of:
|
||||
@ -20,5 +55,39 @@
|
||||
- Summarized IP list: `ipsum.lst`
|
||||
- **Public BGP Server** where the summarized IP list is used: `165.22.127.207` (AS 65412)
|
||||
|
||||
## Xray config example
|
||||
|
||||
```json
|
||||
{
|
||||
"routing": {
|
||||
"rules": [
|
||||
{
|
||||
"ip": [
|
||||
"ext:geoip.dat:antifilter"
|
||||
],
|
||||
"type": "field",
|
||||
"outboundTag": "proxy"
|
||||
},
|
||||
{
|
||||
"domain": [
|
||||
"ext:geosite.dat:antifilter-community"
|
||||
],
|
||||
"type": "field",
|
||||
"outboundTag": "proxy"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"outboundTag": "direct"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
RoutingA of V2RayA Example:
|
||||
`default: direct`
|
||||
`ip(geoip:refilter)->proxy`
|
||||
`domain(ext:"LoyalsoldierSite.dat:refilter")->proxy`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user