[ agent ] 优化部分内容
This commit is contained in:
@@ -1,7 +1,17 @@
|
||||
{
|
||||
"inbounds": [
|
||||
{
|
||||
"tag": "socks",
|
||||
"tag": "proxy-http",
|
||||
"port": 22889,
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "http",
|
||||
"settings": {
|
||||
"allowTransparent": true,
|
||||
"userLevel": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "proxy-socks",
|
||||
"port": 22888,
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "socks",
|
||||
@@ -24,6 +34,31 @@
|
||||
"udp": true,
|
||||
"allowTransparent": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "direct",
|
||||
"port": 22887,
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "socks",
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
],
|
||||
"routeOnly": false
|
||||
},
|
||||
"settings": {
|
||||
"auth": "password",
|
||||
"accounts": [
|
||||
{
|
||||
"user": "zeaslity",
|
||||
"pass": "lovemm.23"
|
||||
}
|
||||
],
|
||||
"udp": true,
|
||||
"allowTransparent": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
@@ -81,11 +116,19 @@
|
||||
"domainStrategy": "IPIfNonMatch",
|
||||
"domainMatcher": "mph",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"outboundTag": "proxy",
|
||||
"inboundTag": [
|
||||
"proxy-socks",
|
||||
"proxy-http"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"outboundTag": "direct",
|
||||
"inboundTag": [
|
||||
"proxy"
|
||||
"direct"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user