123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- {
- "log": {
- "loglevel": "warning",
- "access": "./access.log",
- "error": "./error.log"
- },
- "api": {
- "tag": "api",
- "services": ["HandlerService", "LoggerService", "StatsService"]
- },
- "inbounds": [
- {
- "tag": "api",
- "listen": "127.0.0.1",
- "port": 62789,
- "protocol": "dokodemo-door",
- "settings": {
- "address": "127.0.0.1"
- }
- }
- ],
- "outbounds": [
- {
- "protocol": "freedom",
- "settings": {}
- },
- {
- "tag": "blocked",
- "protocol": "blackhole",
- "settings": {}
- },
- {
- "tag": "WARP",
- "protocol": "socks",
- "settings": {
- "servers": [
- {
- "address": "127.0.0.1",
- "port": 40000
- }
- ]
- }
- }
- ],
- "policy": {
- "levels": {
- "0": {
- "statsUserDownlink": true,
- "statsUserUplink": true
- }
- },
- "system": {
- "statsInboundDownlink": true,
- "statsInboundUplink": true
- }
- },
- "routing": {
- "domainStrategy": "IPIfNonMatch",
- "rules": [
- {
- "type": "field",
- "inboundTag": ["api"],
- "outboundTag": "api"
- },
- {
- "type": "field",
- "outboundTag": "blocked",
- "ip": ["geoip:private"]
- },
- {
- "type": "field",
- "outboundTag": "blocked",
- "protocol": ["bittorrent"]
- },
- {
- "type": "field",
- "outboundTag": "blocked",
- "domain": [
- "geosite:category-ads-all",
- "geosite:category-ads",
- "geosite:google-ads",
- "geosite:spotify-ads"
- ]
- },
- {
- "type": "field",
- "outboundTag": "WARP",
- "domain": [
- "geosite:google",
- "geosite:netflix",
- "geosite:spotify",
- "geosite:openai"
- ]
- },
- {
- "type": "field",
- "outboundTag": "WARP",
- "domain": [
- "regexp:.*\\.ir$",
- "ext:iran.dat:ir",
- "ext:iran.dat:other",
- "geosite:category-ir",
- "bank",
- "tapsi",
- "snapp",
- "blogfa",
- "digikala",
- "Torob.com",
- "sheypoor.com",
- "Tgju.org",
- "sb24.com",
- "tebyan.net",
- "beytoote.com",
- "telewebion.com",
- "Film2movie.ws",
- "Setare.com",
- "Filimo.com",
- "downloadha.com",
- "P30download.com",
- "Sarzamindownload.com",
- "Sanjesh.org"
- ]
- }
- ]
- },
- "stats": {}
- }
|