π Blocking TLD by Squid
- by Yuri Voinov
π Outline
Sometimes you may want to block whole TLD (Top Level Domain).
π Usage
Sometimes somewhere may be need to block whole TLD. For example, .tv or .xxx. Or others by any reason.
π Squid Configuration File
Paste the configuration file like this:
# Block top level domains
acl block_tld dstdomain .tv .xxx
http_access deny block_tld
deny_info TCP_RESET block_tld
Pay your attention, that we send TCP_RESET to client. So, he canβt see we do it with our proxy.
β οΈ Disclaimer: Any example presented here is provided "as-is" with no support
or guarantee of suitability. If you have any further questions about
these examples please email the squid-users mailing list.
Categories: ConfigExample
Navigation: Site Search, Site Pages, Categories, πΌ go up