soft1
November 12, 2020, 8:38pm
1
Hello every one.
I wanted to create a Firewall rule where I allow only few countries to access my domain.
(ip.geoip.country ne “CZ” and ip.geoip.country ne “FI” and ip.geoip.country ne “FR”)
I selected “AND” instead of “OR”
can someone tell me if that’s the correct approach.
sdayman
November 12, 2020, 8:42pm
2
It depends on which action. You didn’t specify if this is for a Block, Challenge, Allow, or Bypass.
soft1
November 12, 2020, 8:46pm
3
@sdayman thank you for your quick reply
its for block action,
If the country doesn’t equal “CZ” “FI” “FR” then Block,
sdayman
November 12, 2020, 8:50pm
4
Then AND is correct. If it meets ALL of the requirements, then it will be blocked.
OR would mean that if it met ANY of the requirements, it would be blocked, which would be bad.
1 Like
soft1
November 12, 2020, 8:53pm
5
Thank you for your help
have a nice day ahead
1 Like
system
Closed
November 13, 2020, 8:53pm
6
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.