metamatic
asked on
Customised host file to block Facebook and all it's sub domains
There seem to be various customised host files available for download that will block advertising/porn sites
Does anybody know where I can get one that will block facebook and all its sub domains? I've blocked facebook.com, m.facebook.com, blog.facebook.com but i keep finding more. It seems that every country has it's own sub domain (ie fr.fr.facebook.com)
Does anybody know where I can get one that will block facebook and all its sub domains? I've blocked facebook.com, m.facebook.com, blog.facebook.com but i keep finding more. It seems that every country has it's own sub domain (ie fr.fr.facebook.com)
Instead of a host file most firewalls will allow you to block domains from within.. is this something you only want for a few users or all users? What type of firewall are you using?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
1.1.1.1 *.facebook.com
actually scrap that wildcards dont work.
just list all websites e.g
1.1.1.1 fr.facebook.com
1.1.1.2 www.facebook.com
1.1.1.3 gb.facebook.com
just list all websites e.g
1.1.1.1 fr.facebook.com
1.1.1.2 www.facebook.com
1.1.1.3 gb.facebook.com
i don't know whether you are using any UTM/Firewall or not...
in a firewall you can enable httpstransparentproxy and can can block the facebook.all this sites are running on HTTPS not on HTTP
in a firewall you can enable httpstransparentproxy and can can block the facebook.all this sites are running on HTTPS not on HTTP