Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "log": {
- "access": "/var/log/x-ui/access.log",
- "dnsLog": false,
- "error": "/var/log/x-ui/error.log",
- "loglevel": "warning",
- "maskAddress": ""
- },
- "routing": {
- "rules": [
- {
- "type": "field",
- "inboundTag": [
- "api"
- ],
- "outboundTag": "api"
- },
- {
- "type": "field",
- "ip": [
- "geoip:private"
- ],
- "outboundTag": "blocked"
- },
- {
- "type": "field",
- "protocol": [
- "bittorrent"
- ],
- "outboundTag": "blocked"
- }
- ],
- "domainStrategy": "AsIs"
- },
- "inbounds": [
- {
- "listen": "127.0.0.1",
- "port": 62789,
- "protocol": "tunnel",
- "settings": {
- "rewriteAddress": "127.0.0.1"
- },
- "tag": "api"
- },
- {
- "listen": "0.0.0.0",
- "port": 443,
- "protocol": "vless",
- "settings": {
- "clients": [
- {
- "email": "client1",
- "id": "..."
- },
- {
- "email": "client2",
- "id": "..."
- }
- ],
- "decryption": "..."
- },
- "streamSettings": {
- "network": "xhttp",
- "realitySettings": {
- "limitFallbackDownload": {
- "afterBytes": 0,
- "burstBytesPerSec": 0,
- "bytesPerSec": 0
- },
- "limitFallbackUpload": {
- "afterBytes": 0,
- "burstBytesPerSec": 0,
- "bytesPerSec": 0
- },
- "maxClientVer": "",
- "maxTimediff": 0,
- "minClientVer": "1.0.0",
- "mldsa65Seed": "...",
- "privateKey": "...",
- "serverNames": [
- "МОЙ_ДОМЕН"
- ],
- "shortIds": [...],
- "show": false,
- "target": "127.0.0.1:8443",
- "xver": 0
- },
- "security": "reality",
- "xhttpSettings": {
- "host": "",
- "mode": "auto",
- "path": "/",
- "scMaxBufferedPosts": 30,
- "scStreamUpServerSecs": "20-80",
- "seqKey": "X-Data",
- "xPaddingBytes": "100-1000"
- }
- },
- "tag": "in-443-tcp",
- "sniffing": {
- "enabled": true,
- "destOverride": [
- "http",
- "tls",
- "quic",
- "fakedns"
- ]
- }
- }
- ],
- "outbounds": [
- {
- "tag": "direct",
- "protocol": "freedom",
- "settings": {
- "finalRules": [
- {
- "action": "block",
- "ip": [
- "geoip:private"
- ]
- },
- {
- "action": "allow"
- }
- ]
- }
- },
- {
- "tag": "blocked",
- "protocol": "blackhole",
- "settings": {}
- }
- ],
- "policy": {
- "levels": {
- "0": {
- "statsUserDownlink": true,
- "statsUserOnline": true,
- "statsUserUplink": true
- }
- },
- "system": {
- "statsInboundDownlink": true,
- "statsInboundUplink": true,
- "statsOutboundDownlink": false,
- "statsOutboundUplink": false
- }
- },
- "api": {
- "services": [
- "HandlerService",
- "LoggerService",
- "StatsService",
- "RoutingService"
- ],
- "tag": "api"
- },
- "stats": {},
- "metrics": {
- "listen": "127.0.0.1:11111",
- "tag": "metrics_out"
- }
- }
Add Comment
Please, Sign In to add comment