1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- {
- "log": {
- "access": "/var/log/v2ray/access.log",
- "error": "/var/log/v2ray/error.log",
- "loglevel": "warning"
- },
- "inbounds": [
- {
- "port": 80,
- "protocol": "vmess",
- "settings": {
- "clients": []
- },
- "streamSettings": {
- "network": "ws",
- "wsSettings": {
- "path": "/v2ray",
- "headers": {
- "Host": "xx"
- }
- },
- "quicSettings": {},
- "sockopt": {
- "mark": 0,
- "tcpFastOpen": true
- }
- },
- "sniffing": {
- "enabled": true,
- "destOverride": [
- "http",
- "tls"
- ]
- },
- "domain": "xx"
- }
- ],
- "outbounds": [
- {
- "protocol": "freedom",
- "settings": {}
- },
- {
- "protocol": "blackhole",
- "settings": {},
- "tag": "blocked"
- }
- ],
- "routing": {
- "rules": [
- {
- "type": "field",
- "ip": [
- "0.0.0.0/8",
- "10.0.0.0/8",
- "100.64.0.0/10",
- "169.254.0.0/16",
- "172.16.0.0/12",
- "192.0.0.0/24",
- "192.0.2.0/24",
- "192.168.0.0/16",
- "198.18.0.0/15",
- "198.51.100.0/24",
- "203.0.113.0/24",
- "::1/128",
- "fc00::/7",
- "fe80::/10"
- ],
- "outboundTag": "blocked"
- },
- {
- "type": "field",
- "outboundTag": "blocked",
- "protocol": [
- "bittorrent"
- ]
- }
- ]
- }
- }
|