v2ray-config-text/socks

116 lines
2.8 KiB
Plaintext
Raw Normal View History

{
"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
}
]
}
}