本帖最后由 zdszf 于 2020-1-17 20:25 编辑
- {
- "sniffing": {"enabled": true,"destOverride": ["http","tls"]},
- "inbounds":
- [
- {
- "port": 10887,
- "listen": "127.0.0.1",
- "protocol": "socks",
- "settings": {"udp": true}
- }
- ],
- "outbounds":
- [
- {
- "protocol": "freedom",
- "settings": {}
- },
- {
- "protocol": "vmess",
- "tag": "nflix",
- "settings": {
- "vnext":
- [
- {
- "address": "xxxxxxxxxxxxxxxx",
- "port": 1299,
- "users": [{"id": "xxxxxxxxxxxxxxxx","alterId": 32}]
- }
- ]
- },
- "mux": {"enabled": true,"concurrency": 128},
- "streamSettings": {"network": "mkcp","kcpSettings": {"uplinkCapacity": 5,"downlinkCapacity": 100,"congestion": true,"header": {"type": "utp"}}}
- },
- {
- "protocol": "blackhole",
- "settings": {},
- "tag": "block"
- }
- ],
- "routing":
- {
- "domainStrategy": "AsIs",
- "rules":
- [
- {"type": "field","outboundTag": "nflix","domain": ["geosite:netflix"]},
- {"type": "field","outboundTag": "block","protocol": ["bittorrent"]},
- {"type": "field","outboundTag": "block","ip": ["geoip:private"]},
- {"type": "field","outboundTag": "block","domain": ["geosite:qihoo360"]}
- ]
- }
- }
复制代码
/root/gost -L=mws://:80 -F=socks5://127.0.0.1:10887 |