Follow the instructions

Good afternoon, my hoster told me to follow the instructions

But I could not add
Next, click on “Edit expression” and insert the following: (ip.geoip.continent in {“AF” “NA” “OC” “SA” “T1” “AN”}) or (ip.geoip.country in {“CN” “IR” “IQ” “KP” “PK” “KR”})

It gives out an error like thisstrong text
Filter parsing error (1:25): (ip.geoip.continent in {“AF” “NA” “OC” “SA” “T1” “AN”}) or (ip.geoip.country in {“CN” “IR” “IQ” “KP” “PK” “KR”}) ^^^ invalid digit found in string while parsing with radix 16

Make sure you use double ticks (") instead of fancy quotation marks (). Try this instead:

(ip.geoip.continent in {"AF" "NA" "OC" "SA" "T1" "AN"}) or (ip.geoip.country in {"CN" "IR" "IQ" "KP" "PK" "KR"})

1 Like

Good afternoon, tell me how to add a rule? hoster advised to do

(ip.geoip.continent in {«AF» «NA» «OC» «SA» «T1» «AN»}) or (ip.geoip.country in {«CN» «IR» «IQ» «KP» «PK» «KR»})

error that is highlighted
Filter parsing error (1:25): (ip.geoip.continent in {«AF» «NA» «OC» «SA» «T1» «AN»}) or (ip.geoip.country in {«CN» «IR» «IQ» «KP» «PK» «KR»}) ^^^ invalid digit found in string while parsing with radix 16

Hi,

Please edit your original post to change the title to something like 'Help with Firewall Rule", as your post has no relation to SSL.

You should follow more closely the suggested rule, enclosing between parenthesis each segment of the expression, and joining them with the operator OR:

For example:

(ip.geoip.continent in {"AF" "NA" "SA"}) or (ip.geoip.country in {"AS" "AI" "AG"})

If you have other difficulties, you can click on “Use Expression Builder” and redo the rule from scratch. It’s very intuitive.