| 
									
										
										
										
											2023-02-09 19:18:06 +00:00
										 |  |  | { | 
					
						
							|  |  |  |   "log": { | 
					
						
							| 
									
										
										
										
											2023-04-03 19:58:26 +00:00
										 |  |  |     "loglevel": "warning", | 
					
						
							| 
									
										
										
										
											2023-04-18 05:52:04 +00:00
										 |  |  |     "access": "./access.log", | 
					
						
							|  |  |  |     "error": "./error.log" | 
					
						
							| 
									
										
										
										
											2023-02-09 19:18:06 +00:00
										 |  |  |   }, | 
					
						
							|  |  |  |   "api": { | 
					
						
							| 
									
										
										
										
											2023-04-18 05:52:04 +00:00
										 |  |  |     "tag": "api", | 
					
						
							| 
									
										
										
										
											2023-05-18 08:22:53 +00:00
										 |  |  |     "services": [ | 
					
						
							|  |  |  |       "HandlerService", | 
					
						
							|  |  |  |       "LoggerService", | 
					
						
							|  |  |  |       "StatsService" | 
					
						
							|  |  |  |     ] | 
					
						
							| 
									
										
										
										
											2023-02-09 19:18:06 +00:00
										 |  |  |   }, | 
					
						
							|  |  |  |   "inbounds": [ | 
					
						
							|  |  |  |     { | 
					
						
							| 
									
										
										
										
											2023-04-18 05:52:04 +00:00
										 |  |  |       "tag": "api", | 
					
						
							| 
									
										
										
										
											2023-02-09 19:18:06 +00:00
										 |  |  |       "listen": "127.0.0.1", | 
					
						
							|  |  |  |       "port": 62789, | 
					
						
							|  |  |  |       "protocol": "dokodemo-door", | 
					
						
							|  |  |  |       "settings": { | 
					
						
							|  |  |  |         "address": "127.0.0.1" | 
					
						
							| 
									
										
										
										
											2023-04-18 05:52:04 +00:00
										 |  |  |       } | 
					
						
							| 
									
										
										
										
											2023-02-09 19:18:06 +00:00
										 |  |  |     } | 
					
						
							|  |  |  |   ], | 
					
						
							|  |  |  |   "outbounds": [ | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |       "protocol": "freedom", | 
					
						
							|  |  |  |       "settings": {} | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     { | 
					
						
							| 
									
										
										
										
											2023-04-18 05:52:04 +00:00
										 |  |  |       "tag": "blocked", | 
					
						
							| 
									
										
										
										
											2023-02-09 19:18:06 +00:00
										 |  |  |       "protocol": "blackhole", | 
					
						
							| 
									
										
										
										
											2023-04-18 05:52:04 +00:00
										 |  |  |       "settings": {} | 
					
						
							| 
									
										
										
										
											2023-02-09 19:18:06 +00:00
										 |  |  |     } | 
					
						
							|  |  |  |   ], | 
					
						
							|  |  |  |   "policy": { | 
					
						
							|  |  |  |     "levels": { | 
					
						
							|  |  |  |       "0": { | 
					
						
							| 
									
										
										
										
											2023-04-18 05:52:04 +00:00
										 |  |  |         "statsUserDownlink": true, | 
					
						
							|  |  |  |         "statsUserUplink": true | 
					
						
							| 
									
										
										
										
											2023-02-09 19:18:06 +00:00
										 |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     "system": { | 
					
						
							|  |  |  |       "statsInboundDownlink": true, | 
					
						
							|  |  |  |       "statsInboundUplink": true | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   "routing": { | 
					
						
							| 
									
										
										
										
											2023-04-03 19:58:26 +00:00
										 |  |  |     "domainStrategy": "IPIfNonMatch", | 
					
						
							| 
									
										
										
										
											2023-02-09 19:18:06 +00:00
										 |  |  |     "rules": [ | 
					
						
							|  |  |  |       { | 
					
						
							| 
									
										
										
										
											2023-04-18 05:52:04 +00:00
										 |  |  |         "type": "field", | 
					
						
							| 
									
										
										
										
											2023-05-18 08:22:53 +00:00
										 |  |  |         "inboundTag": [ | 
					
						
							|  |  |  |           "api" | 
					
						
							|  |  |  |         ], | 
					
						
							| 
									
										
										
										
											2023-04-18 05:52:04 +00:00
										 |  |  |         "outboundTag": "api" | 
					
						
							| 
									
										
										
										
											2023-02-09 19:18:06 +00:00
										 |  |  |       }, | 
					
						
							|  |  |  |       { | 
					
						
							| 
									
										
										
										
											2023-04-18 05:52:04 +00:00
										 |  |  |         "type": "field", | 
					
						
							| 
									
										
										
										
											2023-04-03 19:58:26 +00:00
										 |  |  |         "outboundTag": "blocked", | 
					
						
							| 
									
										
										
										
											2023-05-18 08:22:53 +00:00
										 |  |  |         "ip": [ | 
					
						
							|  |  |  |           "geoip:private" | 
					
						
							|  |  |  |         ] | 
					
						
							| 
									
										
										
										
											2023-02-09 19:18:06 +00:00
										 |  |  |       }, | 
					
						
							|  |  |  |       { | 
					
						
							| 
									
										
										
										
											2023-04-18 05:52:04 +00:00
										 |  |  |         "type": "field", | 
					
						
							| 
									
										
										
										
											2023-02-09 19:18:06 +00:00
										 |  |  |         "outboundTag": "blocked", | 
					
						
							| 
									
										
										
										
											2023-05-18 08:22:53 +00:00
										 |  |  |         "protocol": [ | 
					
						
							|  |  |  |           "bittorrent" | 
					
						
							|  |  |  |         ] | 
					
						
							| 
									
										
										
										
											2023-02-09 19:18:06 +00:00
										 |  |  |       } | 
					
						
							|  |  |  |     ] | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   "stats": {} | 
					
						
							| 
									
										
										
										
											2023-05-18 08:22:53 +00:00
										 |  |  | } |