Skip to main content

Subnet

Sample

SUBNET,SSID:CMCC,REJECT
SUBNET,BSSID:F4-98-A0-73-3A-5B,DIRECT
SUBNET,ROUTER:192.168.1.1,DIRECT
SUBNET,TYPE:WIFI,DIRECT
SUBNET,TYPE:WIRED,DIRECT
SUBNET,TYPE:CELLULAR,SelectGroup
SUBNET,MCCMNC:100-200,DIRECT

Format

SUBNET,{type}:{value},{target proxy}

Param

NameValueMandatoryNote
typeSSID
BSSID
ROUTER
TYPE
MCCMNC
trueSSID and BSSID require GPS permission on most newer android devices
valueSSID: ssid name
BSSID: bssid value(MAC address)
ROUTER: gateway ip
TYPE: WIFI/WIRED/CELLULAR
MCCMNC: {mcc}-{mnc}
trueROUTER rule will only take effect under wifi or wired network
target proxy-trueSpecified proxy or proxy group must existed in profile
tip

MCC and MNC value can be query in https://mcc-mnc-list.com/list