Cách dùng Raspberry Pi + Pi-hole để chặn quảng cáo cho tất cả thiết bị trong nhà

quangthuan916

New member
|Bash ** Cách biến Raspberry Pi của bạn thành một thiết bị chặn quảng cáo trên tất cả các thiết bị trong nhà của bạn **

** Pi-Hole là gì? **

Pi-Hole là một công cụ biến Raspberry Pi của bạn thành trình chặn quảng cáo trên toàn mạng.Điều này có nghĩa là bạn có thể chặn quảng cáo trên tất cả các thiết bị của mình, bao gồm cả điện thoại, máy tính và TV thông minh.

**Làm thế nào nó hoạt động?**

PI-Hole hoạt động bằng cách lọc tất cả các yêu cầu DNS được thực hiện trên mạng của bạn.Khi một thiết bị cố gắng tải quảng cáo, PI-HOLE sẽ chặn yêu cầu và gửi lại một trang trống.Điều này ngăn quảng cáo tải và bạn sẽ không thấy nó.

** Lợi ích của việc sử dụng lỗ pi **

* Dễ dàng để cài đặt
* Chặn quảng cáo trên tất cả các thiết bị, tất cả các ứng dụng (bao gồm các thiết bị không cho phép cài đặt adblock)
* Tốc độ cao, nhẹ
* Dễ dàng kiểm soát nhờ giao diện đồ họa
* Có thể chặn cả IPv4 và IPv6 của các trang quảng cáo
* Miễn phí

** Cách cài đặt lỗ pi trên Raspberry Pi ** của bạn

1. ** Đảm bảo Raspberry Pi của bạn đang chạy Raspbian Lite. **
2. ** SSH vào Raspberry Pi của bạn. **
3. ** Chạy lệnh sau: **

`` `
Curl -ssl https://install.pi-hole.net |bash
`` `

Điều này sẽ cài đặt lỗ PI trên Raspberry Pi của bạn.

4. ** Thực hiện theo các hướng dẫn trên màn hình để định cấu hình PI-Hole. **

5. ** Sau khi cấu hình Pi-Pi-lỗ, bạn có thể bắt đầu chặn quảng cáo! **

** Dưới đây là một số tài nguyên bổ sung mà bạn có thể thấy hữu ích: **

* [Tài liệu Pi-Hole] (Overview of Pi-hole - Pi-hole documentation)
* [Diễn đàn cộng đồng Pi-Hole] (https://forum.pi-hole.net/)
* [Pi-Hole subreddit] (Reddit - Dive into anything)
=======================================
| bash **How to turn your Raspberry Pi into a device that blocks ads on all devices in your home**

**What is Pi-Hole?**

Pi-Hole is a tool that turns your Raspberry Pi into a network-wide ad blocker. This means that you can block ads on all of your devices, including your phone, computer, and Smart TV.

**How does it work?**

Pi-Hole works by filtering all of the DNS requests that are made on your network. When a device tries to load an ad, Pi-Hole will intercept the request and send back a blank page. This prevents the ad from loading and you won't see it.

**Benefits of using Pi-Hole**

* Easy to install
* Blocks ads on all devices, all applications (including devices that don't allow adblock installation)
* High speed, lightweight
* Easy to control thanks to the graphic interface
* Can block both IPv4 and IPv6 of advertising pages
* Free of charge

**How to install Pi-Hole on your Raspberry Pi**

1. **Make sure your Raspberry Pi is running Raspbian Lite.**
2. **SSH into your Raspberry Pi.**
3. **Run the following command:**

```
curl -ssl https://install.pi-hole.net | bash
```

This will install Pi-Hole on your Raspberry Pi.

4. **Follow the on-screen instructions to configure Pi-Hole.**

5. **Once Pi-Hole is configured, you can start blocking ads!**

**Here are some additional resources that you may find helpful:**

* [Pi-Hole documentation](https://docs.pi-hole.net/)
* [Pi-Hole community forum](https://forum.pi-hole.net/)
* [Pi-Hole subreddit](https://www.reddit.com/r/pihole/)
 
Join Telegram ToolsKiemTrieuDoGroup
Back
Top