mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-11-26 22:55:38 +08:00
根据v5版本现有文档添加配置
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
49
V5-Shadowsocks-Websocket-Web-TLS/config_client.json
Normal file
49
V5-Shadowsocks-Websocket-Web-TLS/config_client.json
Normal file
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
37
V5-Shadowsocks-Websocket-Web-TLS/config_server.json
Normal file
37
V5-Shadowsocks-Websocket-Web-TLS/config_server.json
Normal file
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user