有多个国外socks5IP
想用中转服务器转一下 搭了x-ui 用配置文件只能实现一个
怎么实现接入多个socks5
- {
- "api": {
- "services": [
- "HandlerService",
- "LoggerService",
- "StatsService"
- ],
- "tag": "api"
- },
- "inbounds": [
- {
- "listen": "127.0.0.1",
- "port": 62789,
- "protocol": "dokodemo-door",
- "settings": {
- "address": "127.0.0.1"
- },
- "tag": "api"
- }
- ],
- "outbounds": [
- {
- "tag": "proxy",
- "protocol": "socks",
- "settings": {
- "servers": [
- {
- "address": "IP",
- "port": 22876,
- "users": [
- {
- "user": "*****",
- "pass": "*****"
- }
- ]
- }
- ]
- }
- },
- {
- "protocol": "blackhole",
- "settings": {},
- "tag": "blocked"
- }
- ],
- "policy": {
- "system": {
- "statsInboundDownlink": true,
- "statsInboundUplink": true
- }
- },
- "routing": {
- "rules": [
- {
- "inboundTag": [
- "api"
- ],
- "outboundTag": "api",
- "type": "field"
- },
- {
- "ip": [
- "geoip:private"
- ],
- "outboundTag": "blocked",
- "type": "field"
- },
- {
- "outboundTag": "blocked",
- "protocol": [
- "bittorrent"
- ],
- "type": "field"
- }
- ]
- },
- "stats": {}
- }
复制代码
|