We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Web Security Gateway

How do I block country domains on the Barracuda Web Filter?

  • Type: Knowledgebase
  • Date changed: 2 years ago
Solution #00006083


All Barracuda Web Filters, all firmware versions


To block an entire top level/country domain use the following method:

On the Block/Accept > Exceptions page create a block rule for url patterns or on the Block/Accept > URL Patterns page create a Blocked Regular Expression.

These are example s for different countries:
Enter as a URL Pattern block:
http(s|):\/\/.*\.(gov|us)\/ (block anything ending in .gov or .us)
http(s|):\/\/.*\.uk\/ (block anything ending in .uk
(British sites))
http(s|):\/\/.*\.cn\/ (block anything ending in .cn
(China sites))
http(s|):\/\/.*\.ru\/ (block anything ending in .ru
(Russian sites))
http(s|):\/\/.*\.in\/ (block anything ending in .in
(Indian sites))

Note: URL Patterns use regular expression syntax