How can I block a Top Level Domain (TLD) in a Smoothwall web filter policy?

Article #:

Product

Castle

1832

Guardian

All

Summary

This article explains how to block a TLD in the Guardian web filter.

Problem

Typically, companies use a different top-level domain (TLD), or country code, for customers in different countries, for example, www.google.com typically for the US and www.google.co.uk for the UK.

Sometimes it may be desirable to block a full TLD with the Smoothwall web filter, for example, to block all websites from a particular country.

Solution

1. Create a custom category, adding the TLD to block to the Domain/URL filtering field— see https://help.smoothwall.net/Latest/Content/modules/guardian3/cgi-bin/guardian/customcategory.htm

The Domain/URL filtering field automatically infers a wildcard and a dot (.) to entries placed in it, that is, entries are assumed to be *.<text>.

For example, to block all UK web sites which have the top level TLD of uk, it is only necessary to add uk to the category. So adding uk is the equivalent of the more familiar *.uk format, just as an entry of bbc.co.uk is equivalent to *.bbc.co.uk.

2. Create the necessary filtering block rules as required — see https://help.smoothwall.net/Latest/Content/modules/guardian3/cgi-bin/guardian/filteringpolicywiz.htm

Attribution:

Last updated:

Author:

Contributions by:

29 July 2016

 

DMT

SN

 

 

Copyright © 2000-2016 Smoothwall All rights reserved.