`{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"port": 10808,
"listen": "0.0.0.0",
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": false,
"ip": "0.0.0.0"
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {},
"tag": "direct"
}
],
"routing": {
"rules": [
{
"type": "field",
"outboundTag": "direct",
"domain": [
"geosite:cn",
"geosite:geolocation-!cn"
],
"ip": [
"geoip:cn",
"geoip:!cn"
]
}
]
}
}`
Note that you need to switch from a profile that connects to a remote server to prevent the auto-shutdown of the above profile, because if it is activated first, V2rayNG will still try to connect to a server(null) that doesn't exist and report errors.
The intermediate WIFI need to be connected with auto-reconnect feature on. Forget the WIFI and manually reconnect it until mobile data can be used when the internet of WIFI is not available.
No comments:
Post a Comment