根据v5版本现有文档添加配置
parent
4cc09a4977
commit
bf9bcd656b
|
@ -0,0 +1,45 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10808",
|
||||||
|
"protocol": "socks",
|
||||||
|
"settings": {
|
||||||
|
"udpEnabled": true,
|
||||||
|
"address": "127.0.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10809",
|
||||||
|
"protocol": "http"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "shadowsocks",
|
||||||
|
"settings": {
|
||||||
|
"address": "{{ host }}",
|
||||||
|
"port": 1234,
|
||||||
|
"method": "chacha20-ietf-poly1305",
|
||||||
|
"password": "{{ password}}"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "tcp"
|
||||||
|
},
|
||||||
|
"tag": "proxy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,34 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "0.0.0.0",
|
||||||
|
"port": 1234,
|
||||||
|
"protocol": "shadowsocks",
|
||||||
|
"settings": {
|
||||||
|
"method": "chacha20-ietf-poly1305",
|
||||||
|
"password": "{{ password }}"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "tcp"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "blackhole",
|
||||||
|
"tag": "block"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,81 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"routing": {
|
||||||
|
"domainStrategy": "AsIs",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"type": "field",
|
||||||
|
"inboundTag": "wsdoko",
|
||||||
|
"outboundTag": "ssmux"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": 10000,
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"protocol": "dokodemo-door",
|
||||||
|
"tag": "wsdoko",
|
||||||
|
"settings": {
|
||||||
|
"address": "v1.mux.cool",
|
||||||
|
"followRedirect": false,
|
||||||
|
"network": "tcp, udp"
|
||||||
|
},
|
||||||
|
"sniffing": {
|
||||||
|
"enabled": true,
|
||||||
|
"destOverride": [
|
||||||
|
"http",
|
||||||
|
"tls"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "ws",
|
||||||
|
"transportSettings": {
|
||||||
|
"path": "/path"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 9000,
|
||||||
|
"protocol": "shadowsocks",
|
||||||
|
"settings": {
|
||||||
|
"method": "chacha20-ietf-poly1305",
|
||||||
|
"ota": false,
|
||||||
|
"password": "ifYouWantToKeepYourPassphraseSafeChangeThis!!",
|
||||||
|
"network": "tcp,udp"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "domainsocket"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"settings": {},
|
||||||
|
"tag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "blackhole",
|
||||||
|
"settings": {},
|
||||||
|
"tag": "blocked"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "ssmux",
|
||||||
|
"streamSettings": {
|
||||||
|
"network": "domainsocket"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dsSettings": {
|
||||||
|
"path": "/var/run/ss-loop/ss-loop.sock"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,74 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"router": {
|
||||||
|
"domainStrategy": "AsIs",
|
||||||
|
"rule": [
|
||||||
|
{
|
||||||
|
"inboundTag": "wsdoko",
|
||||||
|
"tag": "ssredirect"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": 10000,
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"protocol": "dokodemo-door",
|
||||||
|
"tag": "wsdoko",
|
||||||
|
"settings": {
|
||||||
|
"address": "v1.mux.cool",
|
||||||
|
"followRedirect": false,
|
||||||
|
"network": "tcp, udp"
|
||||||
|
},
|
||||||
|
"sniffing": {
|
||||||
|
"enabled": true,
|
||||||
|
"destOverride": [
|
||||||
|
"http",
|
||||||
|
"tls"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "ws",
|
||||||
|
"transportSettings": {
|
||||||
|
"path": "/path"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 9000,
|
||||||
|
"protocol": "shadowsocks",
|
||||||
|
"settings": {
|
||||||
|
"method": "chacha20-ietf-poly1305",
|
||||||
|
"ota": false,
|
||||||
|
"password": "ifYouWantToKeepYourPassphraseSafeChangeThis!!",
|
||||||
|
"network": "tcp,udp"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"settings": {},
|
||||||
|
"tag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "blackhole",
|
||||||
|
"settings": {},
|
||||||
|
"tag": "blocked"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "ssredirect",
|
||||||
|
"settings": {
|
||||||
|
"redirect": "127.0.0.1:9000"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,49 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10808",
|
||||||
|
"protocol": "socks",
|
||||||
|
"settings": {
|
||||||
|
"udpEnabled": true,
|
||||||
|
"address": "127.0.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10809",
|
||||||
|
"protocol": "http"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "shadowsocks",
|
||||||
|
"settings": {
|
||||||
|
"address": "{{ host }}",
|
||||||
|
"port": 443,
|
||||||
|
"method": "chacha20-ietf-poly1305",
|
||||||
|
"password": "{{ password }}"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "ws",
|
||||||
|
"security": "tls",
|
||||||
|
"transportSettings": {
|
||||||
|
"path": "/path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tag": "proxy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,37 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": 10000,
|
||||||
|
"protocol": "shadowsocks",
|
||||||
|
"settings": {
|
||||||
|
"method": "chacha20-ietf-poly1305",
|
||||||
|
"password": "{{ password }}"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "ws",
|
||||||
|
"transportSettings": {
|
||||||
|
"path": "/path"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "blackhole",
|
||||||
|
"tag": "block"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,49 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10808",
|
||||||
|
"protocol": "socks",
|
||||||
|
"settings": {
|
||||||
|
"udpEnabled": true,
|
||||||
|
"address ": "127.0.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10809",
|
||||||
|
"protocol": "http"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "shadowsocks",
|
||||||
|
"settings": {
|
||||||
|
"address": "{{ host }}",
|
||||||
|
"port": 443,
|
||||||
|
"method": "chacha20-ietf-poly1305",
|
||||||
|
"password": "{{ password }}"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "grpc",
|
||||||
|
"security": "tls",
|
||||||
|
"transportSettings": {
|
||||||
|
"serviceName": "michi"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tag": "proxy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,37 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": 12345,
|
||||||
|
"protocol": "shadowsocks",
|
||||||
|
"settings": {
|
||||||
|
"method": "chacha20-ietf-poly1305",
|
||||||
|
"password": "{{ password }}"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "grpc",
|
||||||
|
"transportSettings": {
|
||||||
|
"serviceName": "michi"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "blackhole",
|
||||||
|
"tag": "block"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,47 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10808",
|
||||||
|
"protocol": "socks",
|
||||||
|
"settings": {
|
||||||
|
"udpEnabled": true,
|
||||||
|
"address": "127.0.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10809",
|
||||||
|
"protocol": "http"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "socks",
|
||||||
|
"settings": {
|
||||||
|
"address": "",
|
||||||
|
"port": 1234
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "tcp",
|
||||||
|
"security": "tls",
|
||||||
|
"securitySettings": {
|
||||||
|
"serverName": "example.domain"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tag": "proxy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,43 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "0.0.0.0",
|
||||||
|
"port": 1234,
|
||||||
|
"protocol": "socks",
|
||||||
|
"settings": {
|
||||||
|
"udpEnabled": true,
|
||||||
|
"address": "127.0.0.1"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "tcp",
|
||||||
|
"security": "tls",
|
||||||
|
"securitySettings": {
|
||||||
|
"certificate": [
|
||||||
|
{
|
||||||
|
"certificateFile": "/path/to/certificate.crt",
|
||||||
|
"keyFile": "/path/to/key.key"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "blackhole",
|
||||||
|
"tag": "block"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,34 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": 10800,
|
||||||
|
"address": "127.0.0.1",
|
||||||
|
"protocol": "socks",
|
||||||
|
"settings": {
|
||||||
|
"udpEnabled": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "trojan",
|
||||||
|
"settings": {
|
||||||
|
"address": "example.com",
|
||||||
|
"port": 443,
|
||||||
|
"password": "your password"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "tcp",
|
||||||
|
"security": "tls"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,42 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": 443,
|
||||||
|
"protocol": "trojan",
|
||||||
|
"settings": {
|
||||||
|
"users": [
|
||||||
|
"your password1",
|
||||||
|
"your password2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "tcp",
|
||||||
|
"security": "tls",
|
||||||
|
"securitySettings": {
|
||||||
|
"nextProtocol": [
|
||||||
|
"http/1.1"
|
||||||
|
],
|
||||||
|
"certificate": [
|
||||||
|
{
|
||||||
|
"certificateFile": "/path/to/fullchain.crt",
|
||||||
|
"keyFile": "/path/to/private.key"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,53 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": "10808",
|
||||||
|
"protocol": "socks",
|
||||||
|
"settings": {
|
||||||
|
"udpEnabled": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": "10809",
|
||||||
|
"protocol": "http"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "vless",
|
||||||
|
"settings": {
|
||||||
|
"address": "xx.com",
|
||||||
|
"port": 443,
|
||||||
|
"uuid": "your UUID"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "h2",
|
||||||
|
"security": "tls",
|
||||||
|
"transportSettings": {
|
||||||
|
"host": [
|
||||||
|
"xx.com"
|
||||||
|
],
|
||||||
|
"path": "/path"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tag": "direct",
|
||||||
|
"protocol": "freedom",
|
||||||
|
"settings": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tag": "blocked",
|
||||||
|
"protocol": "blackhole",
|
||||||
|
"settings": {}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,45 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": 2001,
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"protocol": "vless",
|
||||||
|
"settings": {
|
||||||
|
"users": [
|
||||||
|
"UUID1",
|
||||||
|
"UUID2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"security": "none",
|
||||||
|
"transport": "h2",
|
||||||
|
"transportSettings": {
|
||||||
|
"path": "/path",
|
||||||
|
"host": [
|
||||||
|
"xx.com"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"tag": "direct",
|
||||||
|
"protocol": "freedom",
|
||||||
|
"settings": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tag": "blocked",
|
||||||
|
"protocol": "blackhole",
|
||||||
|
"settings": {}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,45 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10808",
|
||||||
|
"protocol": "socks"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10809",
|
||||||
|
"protocol": "http"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "vless",
|
||||||
|
"settings": {
|
||||||
|
"address": "your_server_ip",
|
||||||
|
"port": 443,
|
||||||
|
"uuid": "your UUID"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "gun",
|
||||||
|
"security": "tls",
|
||||||
|
"securitySettings": {
|
||||||
|
"serverName": "your_domain",
|
||||||
|
"nextProtocol": [
|
||||||
|
"h2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"transportSettings": {
|
||||||
|
"serviceName": "GunService"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,48 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "0.0.0.0",
|
||||||
|
"port": 443,
|
||||||
|
"protocol": "vless",
|
||||||
|
"settings": {
|
||||||
|
"users ": [
|
||||||
|
"UUID1",
|
||||||
|
"UUID2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "gun",
|
||||||
|
"security": "tls",
|
||||||
|
"securitySettings": {
|
||||||
|
"serverName": "your_domain",
|
||||||
|
"nextProtocol": [
|
||||||
|
"h2"
|
||||||
|
],
|
||||||
|
"certificate": [
|
||||||
|
{
|
||||||
|
"certificateFile": "/path/to/fullchain.crt",
|
||||||
|
"keyFile": "/path/to/private.key"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"transportSettings": {
|
||||||
|
"serviceName": "GunService"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,41 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": 10808,
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"protocol": "socks",
|
||||||
|
"settings": {
|
||||||
|
"udpEnabled": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 10809,
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"protocol": "http"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "vless",
|
||||||
|
"settings": {
|
||||||
|
"address": "{{ host }}",
|
||||||
|
"port": "{{ port }}",
|
||||||
|
"uuid": "your UUID"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "kcp",
|
||||||
|
"transportSettings": {
|
||||||
|
"seed": "{{ seed }}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "vless",
|
||||||
|
"port": "{{ port }}",
|
||||||
|
"settings": {
|
||||||
|
"users": [
|
||||||
|
"UUID1",
|
||||||
|
"UUID2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "kcp",
|
||||||
|
"transportSettings": {
|
||||||
|
"seed": "{{ seed }}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,45 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10808",
|
||||||
|
"protocol": "socks",
|
||||||
|
"settings": {
|
||||||
|
"udpEnabled": true,
|
||||||
|
"address": "127.0.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10809",
|
||||||
|
"protocol": "http"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "vmess",
|
||||||
|
"settings": {
|
||||||
|
"address": "",
|
||||||
|
"port": 1234,
|
||||||
|
"uuid": "your UUID"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "http",
|
||||||
|
"security": "tls"
|
||||||
|
},
|
||||||
|
"tag": "proxy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,45 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "0.0.0.0",
|
||||||
|
"port": 1234,
|
||||||
|
"protocol": "vmess",
|
||||||
|
"settings": {
|
||||||
|
"users": [
|
||||||
|
"UUID1",
|
||||||
|
"UUID2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "http",
|
||||||
|
"security": "tls",
|
||||||
|
"securitySettings": {
|
||||||
|
"certificate": [
|
||||||
|
{
|
||||||
|
"certificateFile": "/path/to/certificate.crt",
|
||||||
|
"keyFile": "/path/to/key.key"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "blackhole",
|
||||||
|
"tag": "block"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,45 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10808",
|
||||||
|
"protocol": "socks",
|
||||||
|
"settings": {
|
||||||
|
"udpEnabled": true,
|
||||||
|
"address": "127.0.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10809",
|
||||||
|
"protocol": "http"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "vmess",
|
||||||
|
"settings": {
|
||||||
|
"address": "",
|
||||||
|
"port": 1234,
|
||||||
|
"uuid": "your UUID"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "tcp",
|
||||||
|
"security": "tls"
|
||||||
|
},
|
||||||
|
"tag": "proxy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,45 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "0.0.0.0",
|
||||||
|
"port": 1234,
|
||||||
|
"protocol": "vmess",
|
||||||
|
"settings": {
|
||||||
|
"users": [
|
||||||
|
"UUID1",
|
||||||
|
"UUID2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "tcp",
|
||||||
|
"security": "tls",
|
||||||
|
"securitySettings": {
|
||||||
|
"certificate": [
|
||||||
|
{
|
||||||
|
"certificateFile": "/path/to/certificate.crt",
|
||||||
|
"keyFile": "/path/to/key.key"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "blackhole",
|
||||||
|
"tag": "block"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,44 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10808",
|
||||||
|
"protocol": "socks",
|
||||||
|
"settings": {
|
||||||
|
"udpEnabled": true,
|
||||||
|
"address": "127.0.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10809",
|
||||||
|
"protocol": "http"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "vmess",
|
||||||
|
"settings": {
|
||||||
|
"address": "",
|
||||||
|
"port": 1234,
|
||||||
|
"uuid": "your UUID"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "tcp"
|
||||||
|
},
|
||||||
|
"tag": "proxy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "0.0.0.0",
|
||||||
|
"port": 1234,
|
||||||
|
"protocol": "vmess",
|
||||||
|
"settings": {
|
||||||
|
"users": [
|
||||||
|
"UUID1",
|
||||||
|
"UUID2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "tcp"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "blackhole",
|
||||||
|
"tag": "block"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,45 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10808",
|
||||||
|
"protocol": "socks",
|
||||||
|
"settings": {
|
||||||
|
"udpEnabled": true,
|
||||||
|
"address": "127.0.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10809",
|
||||||
|
"protocol": "http"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "vmess",
|
||||||
|
"settings": {
|
||||||
|
"address": "",
|
||||||
|
"port": 1234,
|
||||||
|
"uuid": "your UUID"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "ws",
|
||||||
|
"security": "tls"
|
||||||
|
},
|
||||||
|
"tag": "proxy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,45 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "0.0.0.0",
|
||||||
|
"port": 1234,
|
||||||
|
"protocol": "vmess",
|
||||||
|
"settings": {
|
||||||
|
"users": [
|
||||||
|
"UUID1",
|
||||||
|
"UUID2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "ws",
|
||||||
|
"security": "tls",
|
||||||
|
"securitySettings": {
|
||||||
|
"certificate": [
|
||||||
|
{
|
||||||
|
"certificateFile": "/path/to/certificate.crt",
|
||||||
|
"keyFile": "/path/to/key.key"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "blackhole",
|
||||||
|
"tag": "block"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,44 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10808",
|
||||||
|
"protocol": "socks",
|
||||||
|
"settings": {
|
||||||
|
"udpEnabled": true,
|
||||||
|
"address": "127.0.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"port": "10809",
|
||||||
|
"protocol": "http"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "vmess",
|
||||||
|
"settings": {
|
||||||
|
"address": "",
|
||||||
|
"port": 1234,
|
||||||
|
"uuid": "your UUID"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "ws"
|
||||||
|
},
|
||||||
|
"tag": "proxy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,37 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"listen": "0.0.0.0",
|
||||||
|
"port": 1234,
|
||||||
|
"protocol": "vmess",
|
||||||
|
"settings": {
|
||||||
|
"users": [
|
||||||
|
"UUID1",
|
||||||
|
"UUID2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "ws",
|
||||||
|
"security": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom",
|
||||||
|
"tag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "blackhole",
|
||||||
|
"tag": "block"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,41 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": 10808,
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"protocol": "socks",
|
||||||
|
"settings": {
|
||||||
|
"udpEnabled": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 10809,
|
||||||
|
"listen": "127.0.0.1",
|
||||||
|
"protocol": "http"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "vmess",
|
||||||
|
"settings": {
|
||||||
|
"address": "{{ host }}",
|
||||||
|
"port": "{{ port }}",
|
||||||
|
"uuid": "your UUID"
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "kcp",
|
||||||
|
"transportSettings": {
|
||||||
|
"seed": "{{ seed }}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
"access": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"type": "Console",
|
||||||
|
"level": "Warning"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "vmess",
|
||||||
|
"settings": {
|
||||||
|
"users": [
|
||||||
|
"UUID1",
|
||||||
|
"UUID2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"transport": "kcp",
|
||||||
|
"transportSettings": {
|
||||||
|
"seed": "{{ seed }}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue