123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- {
- "log": {
- "loglevel": "warning"
- },
- "inbounds": [
- {
- "tags": "TCP",
- "port": 10086,
- "protocol": "vmess",
- "settings": {
- "clients": [
- {
- "id": "换上你自己的uuid",
- "alterId": 64
- }
- ],
- "detour": {
- "to": "DynamicPortTCP"
- }
- },
- "sniffing": {
- "enabled": true,
- "destOverride": [
- "http",
- "tls"
- ]
- }
- },
- {
- "tag": "mKCP",
- "port": 10010,
- "protocol": "vmess",
- "settings": {
- "clients": [
- {
- "id": "换上你自己的uuid,建议别与上面那个一样",
- "alterId": 64
- }
- ],
- "detour": {
- "to": "DynamicPortUDP"
- }
- },
- "sniffing": {
- "enabled": true,
- "destOverride": [
- "http",
- "tls"
- ]
- },
- "streamSettings": {
- "network": "mkcp",
- "kcpSettings": {
- "mtu": 1350,
- "tti": 20,
- "uplinkCapacity": 100,
- "downlinkCapacity": 100,
- "congestion": true,
- "readBufferSize": 1,
- "writeBufferSize": 1,
- "header": {
- "type": "none"
- }
- }
- }
- },
- {
- "tag": "shadowsocks",
- "port": 10000,
- "protocol": "shadowsocks",
- "settings": {
- "method": "aes-128-gcm",
- "udp": true,
- "password": "建议拿一个uuid做ss协议的密码,还有,这个协议没有动态端口支持"
- },
- "sniffing": {
- "enabled": true,
- "destOverride": [
- "http",
- "tls"
- ]
- }
- },
- {
- "tag": "DynamicPortTCP",
- "protocol": "vmess",
- "port": "12000-13000",
- "settings": {
- "default": {
- "alterId": 64
- }
- },
- "sniffing": {
- "enabled": true,
- "destOverride": [
- "http",
- "tls"
- ]
- },
- "allocate": {
- "strategy": "random",
- "concurrency": 2,
- "refresh": 30
- }
- },
- {
- "tag": "DynamicPortUDP",
- "protocol": "vmess",
- "port": "14000-15980",
- "settings": {
- "default": {
- "alterId": 64
- }
- },
- "sniffing": {
- "enabled": true,
- "destOverride": [
- "http",
- "tls"
- ]
- },
- "allocate": {
- "strategy": "random",
- "concurrency": 2,
- "refresh": 30
- },
- "streamSettings": {
- "network": "kcp"
- }
- }
- ],
- "outbounds": [
- {
- "tag": "freedom",
- "protocol": "freedom",
- "settings": {}
- },
- {
- "tag": "blocked",
- "protocol": "blackhole",
- "settings": {},
- "response": {
- "type": "http"
- }
- }
- ],
- "routing": {
- "strategy": "rules",
- "settings": {
- "rules": [
- {
- "type": "field",
- "protocol": [
- "bittorrent"
- ],
- "ip": [
- "geoip:private"
- ],
- "domain": [
- "geosite:category-ads"
- ],
- "outboundTag": "blocked"
- }
- ]
- }
- }
- }
|