I'm trying to block Facebook access from my home system (Ubuntu). I could add facebook.com to /etc/hosts, but that would only prevent accessing facebook.com. There are many other ways I could use facebook, like mbasic.facebook.com, m.facebook.com, touch.facebook.com, the IP address, and so on.
I guess I could use a browser extension to block this, but I'd much prefer a sytem-wide block.
I am using Zentyal Os as a firewall, it working fine like blocking http sites and but I am not able to block https facebook site.
My only aim is need to block https facebook site, like need to block 443 port.
So is there any chance control using iptables with transparent mode.
For some reason, we do not want to view many ads often displayed on a website. You may not want to watch the annoying flash animated ads, banner or something similar. If you are Firefox users, you can use Adblock addons to block the annoying ads while surfing on the web.
As the title says, Is there a way to block a specific URL and not the whole domain?
Let's say I want to block Google Images(google.com/imghp) but not Google (google.com) or block Facebook Groups (facebook.com/groups/) but not Facebook (facebook.com).
I have tried with OpenDNS and the host file but can't still find a solution to this.
Actually i have made a router (based on Linux). it has two interfaces.
one is for my public IP address (eth0)and another is for local LAN
(eh1) with 10.42.43.0/24 mask. i have configure dhcp to provide ip
addresses to all clients. now my all clients are access internet
easily because i have shared internet with both interfaces. now what i
want to block facebook.com to the entire network .