I need to specify the ip corresponding to the two ports #1205
Unanswered
chc156776962
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
把指定ip对应指定端口配对,请看下哪里有问题~~~感谢~~~~
Please help check what is wrong, I am a novice
thank~~~~~~~~~~~~~~~
{
"log": {
"access": "",
"error": "",
"loglevel": "warning"
},
"inbounds": [
{
"tag": "socks-1",
"port": 10808,
"listen": "127.0.0.1",
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
},
"settings": {
"auth": "noauth",
"udp": true,
"allowTransparent": false
}
},
{
"tag": "socks-2",
"port": 10810,
"listen": "127.0.0.1",
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
},
"settings": {
"auth": "noauth",
"udp": true,
"allowTransparent": false
}
}
],
"outbounds": [
{
"tag": "proxy-1",
"protocol": "socks",
"settings": {
"servers": [
{
"address": "181.215.45.137",
"ota": false,
"port": 45786,
"level": 1,
"users": [
{
"user": "Sel953509366",
"pass": "V5M",
"level": 1
}
]
}
]
},
"streamSettings": {
"network": "tcp"
},
"mux": {
"enabled": false,
"concurrency": -1
}
},
{
"tag": "direct",
"protocol": "freedom",
"settings": {}
},
{
"tag": "block",
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
}
},
{
"tag": "proxy-2",
"protocol": "socks",
"settings": {
"servers": [
{
"address": "134.202.33.166",
"ota": false,
"port": 45786,
"level": 1,
"users": [
{
"user": "Sel236014155",
"pass": "A1IzI",
"level": 1
}
]
}
]
},
"streamSettings": {
"network": "tcp"
},
"mux": {
"enabled": false,
"concurrency": -1
}
},
{
"tag": "direct",
"protocol": "freedom",
"settings": {}
},
{
"tag": "block",
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
}
}
],
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"outboundTag": "direct",
"domain": [
"geosite:cn"
]
},
{
"type": "field",
"outboundTag": "direct",
"ip": [
"geoip:private",
"geoip:cn"
]
},
{
"type": "field",
"inboundTag": "socks-1",
"outboundTag": "proxy-1",
"domain": [
"geosite:gfw",
"geosite:greatfire"
]
},
{
"type": "field",
"inboundTag": "socks-2",
"outboundTag": "proxy-2",
"domain": [
"geosite:gfw",
"geosite:greatfire"
]
}
]
}
}
Beta Was this translation helpful? Give feedback.
All reactions