[SOLVED] Is there a way to block all outgoing access of a domain?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
If you do that, half of the internet won't work. Same as blocking Amazon or Cloudflare.
Don't be silly, of COURSE the internet will still work. You simply will not be able to access any google services. That means you might want to change your search default to something other than google, use a non-google mail server, and plan on some faults when you hit web sites that require Google services or authentications.
Google did not invent the internet, the internet was here first and much of it is totally independent of google, amazon, and cloudflare.
And look, it is easy enough to give it a try and if it is terribly inconvenient to live without google just undo the blockage. Document your change
AND a backout plan so you have it to follow even should you forget.
Google was just an example. I wanted to know how to block any address.
You didn't ask that, you asked how to block google.com
Same thing applies, find all the IP addresses the domain uses and block them. For large providers like Google / AWS / etc. they may publish their ranges (usually for the other way around, to allow companies to whitelist their IPs) but for smaller companies it may be harder.
You didn't ask that, you asked how to block google.com
In the subject line I asked that.
Quote:
Originally Posted by boughtonp
Then configure your firewall properly, and/or use Pi-hole.
The Linux HOWTO on firewalls is 20 years old; I've never heard of Pi-hole. Where's a good place to start for the newbie who doesn't want to learn everything?
Quote:
Originally Posted by boughtonp
No it doesn't. The multiquote feature has been made to depend on cdnjs.cloudflare.com but does NOT depend on google-analytics.com
You're right. I don't understand how to use uMatrix. I blocked Google's access and multiquote stopped working. When I looked
this time I saw that cloudflare was also blocked even though I didn't specify that. As I've experimented with other sites I see that uMatrix has blocked a number of domains without my instruction.
I see that uMatrix has blocked a number of domains without my instruction.
Check the Assets tab of the settings - there are default blacklists for malware/etc there.
(It might also use Filter lists from uBlock Origin.)
Quote:
The Linux HOWTO on firewalls is 20 years old; I've never heard of Pi-hole. Where's a good place to start for the newbie who doesn't want to learn everything?
There are different words for people who are new and people who don't want to learn, and "Registered: Mar 2010 / Distribution: Slackware" is not the sign of a newbie. :|
You didn't ask that, you asked how to block google.com
Quote:
Originally Posted by RandomTroll
In the subject line I asked that.
That is just rude. Everyone with common sense knows that the subject line is a rough hint about the topic. The real question is actually asked in the initial post. Put some effort in your question and do not try to twist this like the members who have helped you have a comprehension problem.
There are different words for people who are new and people who don't want to learn, and "Registered: Mar 2010 / Distribution: Slackware" is not the sign of a newbie.
Linux is an ocean: no one knows all its currents. I'm an expert in some things, not all, and I have other endeavors. I want to learn, just not everything. I repair my own automobile, am an expert on much of how it works, but not on other matters automotive, such as automatic transmissions and fuel injectors, don't care to learn.
UMatrix works on a whitelist principle, not blacklist.
It can work both ways.
For scripts the default is that third-party domains needs to be whitelisted.
But even if you whitelist the whole script column, known bad domains remain blacklisted (dark red) and their scripts don't load (unless you override it).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.