mirror of
				https://github.com/MHSanaei/3x-ui.git
				synced 2025-10-30 11:52:51 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			89 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			89 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|   "log": {
 | |
|     "access": "none",
 | |
|     "dnsLog": false,
 | |
|     "error": "",
 | |
|     "loglevel": "warning",
 | |
|     "maskAddress": ""
 | |
|   },
 | |
|   "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": [
 | |
|     {
 | |
|       "tag": "direct",
 | |
|       "protocol": "freedom",
 | |
|       "settings": {
 | |
|         "domainStrategy": "AsIs",
 | |
|         "redirect": "",
 | |
|         "noises": []
 | |
|       }
 | |
|     },
 | |
|     {
 | |
|       "tag": "blocked",
 | |
|       "protocol": "blackhole",
 | |
|       "settings": {}
 | |
|     }
 | |
|   ],
 | |
|   "policy": {
 | |
|     "levels": {
 | |
|       "0": {
 | |
|         "statsUserDownlink": true,
 | |
|         "statsUserUplink": true
 | |
|       }
 | |
|     },
 | |
|     "system": {
 | |
|       "statsInboundDownlink": true,
 | |
|       "statsInboundUplink": true,
 | |
|       "statsOutboundDownlink": false,
 | |
|       "statsOutboundUplink": false
 | |
|     }
 | |
|   },
 | |
|   "routing": {
 | |
|     "domainStrategy": "AsIs",
 | |
|     "rules": [
 | |
|       {
 | |
|         "type": "field",
 | |
|         "inboundTag": [
 | |
|           "api"
 | |
|         ],
 | |
|         "outboundTag": "api"
 | |
|       },
 | |
|       {
 | |
|         "type": "field",
 | |
|         "outboundTag": "blocked",
 | |
|         "ip": [
 | |
|           "geoip:private"
 | |
|         ]
 | |
|       },
 | |
|       {
 | |
|         "type": "field",
 | |
|         "outboundTag": "blocked",
 | |
|         "protocol": [
 | |
|           "bittorrent"
 | |
|         ]
 | |
|       }
 | |
|     ]
 | |
|   },
 | |
|   "stats": {},
 | |
|   "metrics": {
 | |
|     "tag": "metrics_out",
 | |
|     "listen": "127.0.0.1:11111"
 | |
|   }
 | |
| }
 | 
