Compare commits

...

2 Commits

Author SHA1 Message Date
lingling 52c6b6a1be Merge pull request '添加多个ip出口更高级' (#1) from lingling-patch-1 into master
Reviewed-on: #1
2024-08-17 00:42:12 +08:00
lingling 3af75d268d 添加多个ip出口更高级
多个socker入多个ss出
2024-08-17 00:41:40 +08:00
1 changed files with 116 additions and 0 deletions

116
socks Normal file
View File

@ -0,0 +1,116 @@
{
"log": {
"access": "",
"error": "",
"loglevel": "warning"
},
"inbounds": [
{
"tag": "socks",
"port": 10808,
"listen": "127.0.0.1",
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
},
"settings": {
"auth": "noauth",
"udp": true,
"allowTransparent": false
}
},
{
"tag": "socks2",
"port": 10807,
"listen": "127.0.0.1",
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
},
"settings": {
"auth": "noauth",
"udp": true,
"allowTransparent": false
}
}
],
"outbounds": [
{
"protocol": "shadowsocks",
"settings": {
"servers": [
{
"address": "118.33.96.200",
"method": "aes-256-gcm",
"ota": false,
"password": "830",
"port": 21674,
"level": 1
}
]
},
"tag": "ip1"
},
{
"protocol": "shadowsocks",
"settings": {
"servers": [
{
"address": "59.9.252.146",
"method": "aes-256-gcm",
"ota": true,
"password": "901",
"port": 40826
}
]
},
"tag": "ip2"
},
{
"tag": "direct",
"protocol": "freedom",
"settings": {
}
},
{
"tag": "block",
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
}
}
],
"routing": {
"domainStrategy": "IPIfNonMatch",
"domainMatcher": "linear",
"rules": [
{
"type": "field",
"inboundTag": [
"socks"
],
"outboundTag": "ip1",
"enabled": true
},
{
"type": "field",
"inboundTag": [
"socks2"
],
"outboundTag": "ip2",
"enabled": true
}
]
}
}