• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Instructions for Blocking Ads with Pi-Hole on Raspberry Pi

AnonyViet by AnonyViet
January 25, 2023
in Network
0

I’m pretty sure many of you who follow Anonyviet sometimes have to encounter a lot of ads while surfing the web or playing free games. These ads are annoying to users and you would love to get rid of them. So if you have VPS or Raspberry Pi then Pi-Hole is your choice to do Adblock. Let’s find out with us!

Join the channel Telegram of the AnonyViet 👉 Link 👈

What is AdBlock?

AdBlock is a software or Extension that allows them to remove or filter ads by changing the website structure and blocking traffic from advertising websites. Currently, Chrome Extension has tons of Adblockers such as ADblock, Poper Blocker and Stands Fair AdBlocker.

What is Pi-Hole?

Pi-hole is a tool that turns Linux into a DNS Server used to block ads that work on the entire home network. You don’t need to install adblock or extensions in the Chrome store and you can whitlist some Adblocks. Pi-holes are extremely useful even with devices that you cannot interfere with to block ads, like Smart TVs or Smart watches.

Pi-hole operation diagram

When you type the name of a website and press Enter, the computer will give that website to the Pi-Hole server via DNS. Pi-Hole will start looking for that page to run in the browser and it will also start checking the ad pages that will run with the website to block. And finally, no matter what website, Pi-Hole will remove ads.

Why Pi-Hole and Benefits of Pi-Hole

According to official information from Chrome, all Extensions built on the Manifest V2 extension license management system will no longer appear on the Chrome Web Store as of January 17, 2022 and will be completely disabled on January 17, 2022. January 2023. This invisibly turned all Adblock Extensions disabled by 2022.

At the same time, Pi-Hole also has some of the following benefits:

  • Easy to install with just a few commands
  • Block ads on any device, any application (including devices that do not allow adblock installation)
  • High speed, light
  • Easy control thanks to the graphical user interface using the browser
  • Can block both IPv4 and IPv6 of advertising sites
  • Totally free

Instructions for installing Pi-Hole to block ads

I will use Raspberry Pi 4 running Ubuntu 20.04 LTS operating system so that the software can be optimized! Ubuntu users can follow this tutorial!

Setup on Terminal

Step 1: Grant Root permission to Terminal

Sudo su

Step 2: Update apt-get library

apt-get update && apt-get upgrade

Step 3: install pi-hole using curl

curl -sSL https://install.pi-hole.net | sudo bash

It will ask DNS server, then you choose Google!

Google DNS

Now you wait a bit for the installation. When does it report? Installation Complete! done then!

To change the password for a user, enter the following command:

pihole -a -p

Access to the interface

In the browser, you enter the IP address of your server (my Raspberry Pi is 192.168.1.9)

Syntax: ipcuaban/admin

Eg: 192.168.1.9/admin

Pi-Hole’s interface

pi-hole interface

By default, it will give you 91,249 popular ad domains that have already been blocked!

How to add a domain to the whitelist

Step 1: In the toolbar, select whitelist

choose whitelist

Step 2: enter the domain name you want to whitelist in the domain section and select Add to Whitelist

Add domain to whitelist

Add domain to BlackList

Step 1: In the toolbar, select blacklist

Add to Blacklist

Step 2: enter the domain name in the domain section and select Add to Blacklist

Add domain to Blacklist

Add DNS on the client

Step 1: Open Control Panel -> Network and Internet -> Network and Sharing Center -> Change adapter settings.

Go to control panel

Step 2: Right-click on Wifi > Properties and select the Networking tab.

Go to change adapter option

Step 3: Select IPv4 and enter the address of the Server (Raspberry Pi) in the DNS

enter pi's dns

So from now on you can freely surf the web without fear of ads. If you have any trouble, please leave a comment below so I can help!

The article achieved: 5/5 – (100 votes)

Tags: AdsblockingInstructionsPiHoleRaspberry
Previous Post

Instructions for writing a simple DDoS Tool in Python

Next Post

Lesson 241: Chart table in Excel

AnonyViet

AnonyViet

Related Posts

Guide to self -creation socket5 on Ubuntu
Network

Guide to self -creation socket5 on Ubuntu

May 28, 2025
How to create a separate mtproto proxy to use Telegram when blocked
Network

How to create a separate mtproto proxy to use Telegram when blocked

May 25, 2025
Script backup database and website on telegram
Network

Script backup database and website on telegram

May 2, 2025
Create 64GB RAM 16 core for free on Google IDX
Network

Create 64GB RAM 16 core for free on Google IDX

April 13, 2025
What is VPS running Vietnamese software? What is the reason for installing Vietnamese software on VPS?
Network

What is VPS running Vietnamese software? What is the reason for installing Vietnamese software on VPS?

February 17, 2025
Create Ronin wallet to play pixels on VPS Windows
Network

Create Ronin wallet to play pixels on VPS Windows

February 17, 2025
Next Post
Lesson 241: Chart table in Excel

Lesson 241: Chart table in Excel

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Top 5 game programming languages ​​to learn now

Top 5 game programming languages ​​to learn now

June 8, 2025
The iPhone list is updated with iOS 26

The iPhone list is updated with iOS 26

June 8, 2025
Discover the glowing effect next to the iPhone ios 18 screen

Discover the glowing effect next to the iPhone ios 18 screen

June 8, 2025
[Godot Shooter] #2: Creating characters & shooting bullets

[Godot Shooter] #2: Creating characters & shooting bullets

June 7, 2025
Top 5 game programming languages ​​to learn now

Top 5 game programming languages ​​to learn now

June 8, 2025
The iPhone list is updated with iOS 26

The iPhone list is updated with iOS 26

June 8, 2025
Discover the glowing effect next to the iPhone ios 18 screen

Discover the glowing effect next to the iPhone ios 18 screen

June 8, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Top 5 game programming languages ​​to learn now

Top 5 game programming languages ​​to learn now

June 8, 2025
The iPhone list is updated with iOS 26

The iPhone list is updated with iOS 26

June 8, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET https://kubet88.yoga/ bj88

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET https://kubet88.yoga/ bj88

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply