Skip to main content

IP

CIDR

Reference: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing

Sample

IP-CIDR,192.168.0.0/16,DIRECT
IP-CIDR6,2001:db8:abcd:8000::/50,DIRECT

Format

{type}, {route}, {target proxy}

Param

NameValueMandatoryNote
typeIP-CIDR
IP-CIDR6
trueIP-CIDR works on IPv4 traffic
IP-CIDR6 works on IPv6 traffic
route-trueFormat: {IP}/{mask}, mask is in prefix format
target proxy-trueSpecified proxy or proxy group must existed in profile
caution

IPv6 is not supported by Surfboard currently, IP-CIDR6 rules will be ignored.

GEOIP

Reference:

Sample

GEOIP,US,REJECT

Format

GEOIP,{country},REJECT

Param

NameValueMandatoryNote
country-trueFormat: 2 Bit ISO country code
target proxy-trueSpecified proxy or proxy group must existed in profile