What's new

Safesearch

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

bilboSNB

Senior Member
Is there a way of enforcing google safe search on the standard asus router firmware?

I have it enforced on RMerlins.
 
I have been thinking of trying out Merlin.. I am currently using Tomato...
I have been able to force SafeSearch for all Google's domains by adding the following script under Administration/Init

tlds="com ac ad ae com.af com.ag com.ai al am co.ao com.ar as at com.au az ba com.bd be bf bg com.bh bi bj com.bn com.bo com.br bs bt co.bw by com.bz ca com.kh cc cd cf cat cg ch ci co.ck cl cm cn www.g.cn com.co co.cr com.cu cv com.cy cz de dj dk dm com.do dz com.ec ee com.eg es com.et fi com.fj fm fr ga ge gf gg com.gh com.gi gl gm gp gr com.gt gy com.hk hn hr ht hu co.id ir iq ie co.il im co.in io is it je com.jm jo co.jp co.ke ki kg co.kr com.kw kz la com.lb com.lc li lk co.ls lt lu lv com.ly co.ma md me mg mk ml com.mm mn ms com.mt mu mv mw com.mx com.my co.mz com.na ne com.nf com.ng com.ni nl no com.np nr nu co.nz com.om com.pa com.pe com.ph com.pk pl com.pg pn com.pr ps pt com.py com.qa ro rs ru rw com.sa com.sb sc se com.sg sh si sk com.sl sn sm so st com.sv td tg co.th com.tj tk tl tm to tn com.tn com.tr tt com.tw co.tz com.ua co.ug co.uk us com.uy co.uz com.vc co.ve vg co.vi com.vn vu ws co.za co.zm co.zw"

mkdir -m 777 -p /tmp/etc/dnsmasq/hosts

{

for tld in $tlds

do

echo "216.239.38.120 www.google.$tld"

done

} > /tmp/etc/dnsmasq/hosts/safesearh.hosts
 
In Merlin Lan> DNS Filter > Clean Browsing : will give you Safe Search along with adult /malicious blocking.

Easy way to protect kids .
 
In Merlin Lan> DNS Filter > Clean Browsing : will give you Safe Search along with adult /malicious blocking.

Easy way to protect kids .
does that Safe Search includes all of Google's domains?
 
oh I see... .that's waht you meant by Clean Browsing. I know that dns service, but if you use their SafeSearch dns IP, it will also enable YouTube's strict mode for ALL users which is not good.
Right now I am using Tomato firmware and I am using the script code I set above and it works great for all Google domains.

I have been thinking in trying out Merlin, but I see that it may not have a few features I currently have in Tomato.
 
I actually was able to get the following script with the help of another user Dave... hopefully it will help the OP with your question.. it helped me!

add the following script via ssh to force SafeSearch on all google domains.

#!/bin/sh
tlds="com ac ad ae com.af com.ag com.ai al am co.ao com.ar as at com.au az ba com.bd be bf bg com.bh bi bj com.bn com.bo com.br bs bt co.bw by com.bz ca com.kh cc cd cf cat cg ch ci co.ck cl cm cn www.g.cn com.co co.cr com.cu cv com.cy cz de dj dk dm com.do dz com.ec ee com.eg es com.et fi com.fj fm fr ga ge gf gg com.gh com.gi gl gm gp gr com.gt gy com.hk hn hr ht hu co.id ir iq ie co.il im co.in io is it je com.jm jo co.jp co.ke ki kg co.kr com.kw kz la com.lb com.lc li lk co.ls lt lu lv com.ly co.ma md me mg mk ml com.mm mn ms com.mt mu mv mw com.mx com.my co.mz com.na ne com.nf com.ng com.ni nl no com.np nr nu co.nz com.om com.pa com.pe com.ph com.pk pl com.pg pn com.pr ps pt com.py com.qa ro rs ru rw com.sa com.sb sc se com.sg sh si sk com.sl sn sm so st com.sv td tg co.th com.tj tk tl tm to tn com.tn com.tr tt com.tw co.tz com.ua co.ug co.uk us com.uy co.uz com.vc co.ve vg co.vi com.vn vu ws co.za co.zm co.zw"

{

for tld in $tlds

do

echo "216.239.38.120 www.google.$tld"

done

} > /jffs/configs/hosts.add

service restart_dnsmasq
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top