What's new

ASUS RT-N66U - How to block specific sites?

  • 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!

Renecek

Occasional Visitor
Hello,
I need to block access to Facebook asap. Is there any way?

Tried:
Firewall - URL filter - enable - added word facebook but it doesn't work, I can access to facebook..

Need to block FB in whole LAN for all computers.
Thank you.
 
Tried:
Firewall - URL filter - enable - added word facebook but it doesn't work, I can access to facebook..
Reboot your Test-PC: The name resolution is cached on the PC and therefore the rule is not triggered as it does not ask the router for "facebook" anymore... :rolleyes:
 
Reboot your Test-PC: The name resolution is cached on the PC and therefore the rule is not triggered as it does not ask the router for "facebook" anymore... :rolleyes:
Tried restart my both computers and iPhone, facebook still works and I can open it
 

Attachments

  • Snímka obrazovky 2017-03-31 o 13.30.23.png
    Snímka obrazovky 2017-03-31 o 13.30.23.png
    132 KB · Views: 1,665
  • Snímka obrazovky 2017-03-31 o 13.30.32.png
    Snímka obrazovky 2017-03-31 o 13.30.32.png
    211.9 KB · Views: 1,733
Tried restart my both computers and iPhone, facebook still works and I can open it
OK. Did you read this:
2. Https webpages cannot be filtered.

and the try to open Facebook and look onto the URL... :eek:
 
logon too your router via ssh and add a file called at the following location

Code:
/jffs/configs/dnsmasq.conf.add

in that file place the following text

Code:
addn-hosts=/jffs/customhost

next create another file at

Code:
/jffs/customhost

with the following text

Code:
127.0.0.1   facebook.com

next restart the dnsmasq service via

Code:
service restart_dnsmasq

now facebook should resovle to localhost
 
@swetoast

That seems rather involved. You could just as well create a single file and achieve the same result.

/jffs/configs/hosts.add
Code:
127.0.0.1   facebook.com
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

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