This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What's the simplest way to block a Top-Level-Domain (*.ru/* for example )in web protection?

What is the simplest way to block all users from visiting a TLD? This seems like a basic functionality but I haven't found a good answer.



This thread was automatically locked due to age.
Parents
  • I know this works in UTM hoping XG

     

    https?://[A-Za-z0-9.-]*\.ru/

    or

    http?://[A-Za-z0-9.-]*\.ru/

     

    You can also use country blocking, you may be aware but figure I would mention it.

  • Badrobot said:

     https?://[A-Za-z0-9.-]*\.ru/

    http?://[A-Za-z0-9.-]*\.ru/

    If working with this REGEX Snippets, then the pattern for an URL with Path behind should be added as well (for Example mydomain.ru/mypage/index.php wouldnt be affected by this REGEX Snippets above). Afterwards this Regex Snippet can be used to create an URL Group that afterwards can be used in Webfilter Policy.

     

    By the way... Why do you want to block all *.ru pages? not all of those are bad... I don't se a usecase for something like this :-S

  • Please try adding one of those snippets in a URL Group entry. The Sophos won't accept it: You must enter a valid domain name

    Some TLDs simply aren't hosting anything that would be needed in our line of business. If that changes we have a process for whitelisting.

Reply Children
No Data