Page 1 of 1

Example of completely blocking a website using Puppy Linux hosts

Posted: Sun Jan 21, 2024 1:25 pm
by sucuklu yumurta

How to Add Static Entries to the Hosts File on Linux
https://linuxiac.com/how-to-add-static- ... e-on-linux What Is the Linux Hosts File ? Bobby Borisov

/etc/hosts

127.0.0.1 localhost puppypcxyz12345 You can give any name here
192.168.1.1 pc2
192.168.1.2 pc3
192.168.1.3 pc4

0.0.0.0 https://www.google.com/?gws_rd=ssl
0.0.0.0 google.com
0.0.0.0 https://google.com
0.0.0.0 https://www.google.com
0.0.0.0 youtube.com
0.0.0.0 https://youtube.com
0.0.0.0 https://www.youtube.com
0.0.0.0 142.251.214.142
0.0.0.0 142.251.46.206
0.0.0.0 2607:f8b0:4005:814::200e
0.0.0.0 2607:f8b0:4005:80f::200e
0.0.0.0 ns1.google.com
0.0.0.0 ns2.google.com
0.0.0.0 ns4.google.com
0.0.0.0 ns3.google.com

It's ok if you save the changes in the hosts file
When you save the file, it will not access yutubgoogle sites again.

To find the IP address of any sites:
https://www.nslookup.io
https://www.ipvoid.com/find-website-ip

Always updated blacklist that you can block and relax your device:
https://github.com/StevenBlack/hosts
https://github.com/StevenBlack/hosts/releases
https://github.com/jerryn70/GoodbyeAds/releases

You can also add only IP addresses to the hosts file, your system will be more responsive and block faster.
You cannot make similar settings on mobile phones because the software is embedded. Rooting is required to access the hosts file on Android phones. Instead of constantly buying a mobile phone, you can buy a Sony Vaio P series pocket PC, it is small enough to fit in your pocket.

It's a little beast, you can install any version of Puppy Linux
https://duckduckgo.com/?t=ffab&q=Sony+V ... &ia=images
https://en.wikipedia.org/wiki/Sony_Vaio_P_series

A quality site where you can make audio and video calls without needing a social media application as long as the browser is up to date.
https://meet.jit.si
https://jitsi.org


Re: Example of completely blocking the website: Puppy Linux hosts

Posted: Sun Jan 21, 2024 8:06 pm
by d-pupp

@sucuklu yumurta
Just an fyi. In the menu > internet > Pup-Advert-Blocker
Does a similar thing.