2018-02-04 02:29:09 +01:00
|
|
|
################################
|
|
|
|
# Cloaking rules #
|
|
|
|
################################
|
|
|
|
|
|
|
|
# The following example rules force "safe" (without adult content) search
|
2018-04-10 09:06:19 +02:00
|
|
|
# results from Google, Bing and YouTube.
|
2018-02-04 02:29:09 +01:00
|
|
|
#
|
|
|
|
# This has to be enabled with the `cloaking_rules` parameter in the main
|
|
|
|
# configuration file
|
|
|
|
|
|
|
|
|
2018-04-09 13:16:30 +02:00
|
|
|
www.google.* forcesafesearch.google.com
|
2018-02-04 01:57:18 +01:00
|
|
|
|
|
|
|
www.bing.com strict.bing.com
|
|
|
|
|
2019-04-29 14:35:24 +02:00
|
|
|
yandex.ru familysearch.yandex.ru
|
|
|
|
|
2019-08-09 14:31:56 +02:00
|
|
|
=duckduckgo.com safe.duckduckgo.com
|
2019-07-22 18:39:31 +02:00
|
|
|
|
2018-02-04 15:20:17 +01:00
|
|
|
www.youtube.com restrictmoderate.youtube.com
|
|
|
|
m.youtube.com restrictmoderate.youtube.com
|
|
|
|
youtubei.googleapis.com restrictmoderate.youtube.com
|
|
|
|
youtube.googleapis.com restrictmoderate.youtube.com
|
|
|
|
www.youtube-nocookie.com restrictmoderate.youtube.com
|
2018-02-04 01:57:18 +01:00
|
|
|
|
2019-10-12 21:43:03 +02:00
|
|
|
# Multiple IP entries for the same name are supported.
|
|
|
|
# In the following example, the same name maps both to IPv4 and IPv6 addresses:
|
|
|
|
|
2018-04-10 15:07:51 +02:00
|
|
|
localhost 127.0.0.1
|
2019-02-23 15:51:30 +01:00
|
|
|
localhost ::1
|
2019-10-12 21:43:03 +02:00
|
|
|
|
|
|
|
# For load-balancing, multiple IP addresses of the same class can also be
|
|
|
|
# provided using the same format, one <pattern> <ip> pair per line.
|
|
|
|
|
|
|
|
# ads.* 192.168.100.1
|
|
|
|
# ads.* 192.168.100.2
|
|
|
|
# ads.* ::1
|