TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

November Workshop: Running the Pi-hole Network-wide Ad-blocker, and more

115 点作者 ophelia超过 7 年前

22 条评论

chewz超过 7 年前
I am running Pi-Hole like system assembled myself. OpenVPN, Tor, dnscrypt-proxy[3] and dnsmasq[2] plus large lists of blocks from Steven Black hosts project[1] and firehole.<p>I am running this for four years now in different incarnations and it is generally smooth. It was also quite educational to assemble.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;StevenBlack&#x2F;hosts" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;StevenBlack&#x2F;hosts</a><p>[2] [3] dnsmasq isn&#x27;t necessary as dnscypt-proxy is now able to block domains and IPs and of caching requests. I am using dnsmasq mostly for dhcp and to spread traffic among two dnscrypt-proxy clients and Google DNS.
评论 #15609302 未加载
评论 #15608815 未加载
ophelia超过 7 年前
Hey CryptoAUSTRALIA is here. We are answering questions in the next hour or so. Proof: <a href="https:&#x2F;&#x2F;twitter.com&#x2F;CryptoAustralia&#x2F;status&#x2F;925984688895770624" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;CryptoAustralia&#x2F;status&#x2F;92598468889577062...</a>
评论 #15608761 未加载
juriansluiman超过 7 年前
PiHole is a fantastic system and works really well.<p>The only issue I have is its installer works on a bare system. I prefer to use the Pi as a multi purpose system: for home-assistent, as unifi controller and for pi-hole. It will costs you some time to get it running with all the pi-hole features (auto update and so on) operational.
评论 #15608743 未加载
评论 #15610252 未加载
rndomsrmn超过 7 年前
Or you just use a very basic dnsmasq installation and make use of a list like: <a href="https:&#x2F;&#x2F;github.com&#x2F;notracking&#x2F;hosts-blocklists" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;notracking&#x2F;hosts-blocklists</a> that allows you to also block full domains.<p>Been using this list for several months now without any issues.<p>Besides that, it&#x27;s worth reading in to dnsmasq&#x27;s configuration in more detail, in the end pi-hole is just a preconfigured dnsmasq installation with a user interface to manage hostname based blocklists.
评论 #15608646 未加载
mikehotel超过 7 年前
If you are running LEDE on a modern router, it&#x27;s easier to install and use simple-adblock.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;stangri&#x2F;openwrt-packages&#x2F;blob&#x2F;simple-adblock&#x2F;net&#x2F;simple-adblock&#x2F;files&#x2F;README.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;stangri&#x2F;openwrt-packages&#x2F;blob&#x2F;simple-adbl...</a>
Jaruzel超过 7 年前
I ran Pi-Hole for a few weeks, and found it was more trouble than it it was worth. Because it blocks at the DNS level using (very large) DNS blacklists. It was cumbersome to temporarily whitelist domains when you hit a site that just wouldn&#x27;t load properly as you had no idea which of the many domains that site was requesting were being blocked. By comparison, using an in-browser adblocker you can just disable the the adblocker and reload the page, and once done, a single click re-enables the adblocker again. Also, Pi-Hole used to be undetectable by anti-adblocker scripts, but now it isn&#x27;t.<p>Although very good at what it does (almost too good in fact) it is a blunt instrument that may or may not suit your needs.
评论 #15608461 未加载
评论 #15609697 未加载
评论 #15608546 未加载
评论 #15608439 未加载
评论 #15611593 未加载
评论 #15608501 未加载
评论 #15609144 未加载
kup0超过 7 年前
I use a Pi pretty much exclusively for this purpose and it works very well. Fairly transparent to me in terms of performance (DNS doesn&#x27;t feel slower at least to me). Glad to see ads blocked across the network, including on mobile devices (including in-app ads). Easy admin panel for whitelisting&#x2F;blacklisting&#x2F;updating and you can also do that via command line too
评论 #15608257 未加载
dre85超过 7 年前
Desktops are easier to deal with, but I installed Pi-hole with the hope of solving the issue on my Android phone. I&#x27;ve had it running for some months now and while it works it&#x27;s certainly not a perfect solution. Even with it running, YouTube ads still run rampant. For me, video ads and especially YouTube ads are the most intrusive and annoying.
评论 #15611123 未加载
cup-of-tea超过 7 年前
This looks good and something that I might set up soon. But why is it called &quot;pi-hole&quot;? Is it specific to Raspberry Pi in any way? I&#x27;m not going to run it on a RPi because I have other machines online anyway, so is there something better that I can use for this purpose?
评论 #15611212 未加载
yCloser超过 7 年前
used a pi-hole for a while. It was great!<p>then one day power went out, and my sd was corrupted.<p>(I know, I should have had a backup. I want the internetz to work when I return home in the evening, not to flash-try-format-reinstalldebian etc)<p>btw, I tried using pihole on a VPS and everything was perfect
JustSomeNobody超过 7 年前
Make sure your router is set up with a secondary DNS server if you do this. I made that mistake and took my server (which is where I host this) down for maintenance while everyone was home. I could NOT get into my router config fast enough!
voltagex_超过 7 年前
I wonder if as people get on the NBN (ill-fated fibre (now copper) broadband project) whether the Pi will be a bottleneck. I can download at ~90 megabit on a good day - that&#x27;s about 3 times faster than my Pi 3 can handle.
评论 #15608370 未加载
评论 #15608515 未加载
评论 #15608459 未加载
评论 #15609388 未加载
nyolfen超过 7 年前
&gt; but we’ll be focusing on getting it working on a small, ARM-based computing device called a Raspberry Pi (RPi), which costs about $100.<p>?? do rpi&#x27;s cost an absurd amount in australia or something?
评论 #15608412 未加载
评论 #15608238 未加载
评论 #15608265 未加载
评论 #15608544 未加载
评论 #15608320 未加载
ww520超过 7 年前
Is it possible to run it on a VPS somewhere and make Android points its DNS setting to it? There are lots of stupid ad in the apps that can use some blocking.
评论 #15608492 未加载
评论 #15608496 未加载
评论 #15608371 未加载
评论 #15608306 未加载
评论 #15608302 未加载
b3lvedere超过 7 年前
Pi-Hole is awesome. It took not much effort to get it running on a small default Debian 9 vm. The project is well supported as well. The devs are very responsive on reddit.<p>Once a client asked if it were possible to block all internet ads in their infrastructure. 20 minutes later i had a pi-hole up and running quite well.<p>I would like a better chronometer script though :)
j_s超过 7 年前
Are there any writeups on MITM SSL (installing custom trusted root), ideally showing how to whitelist parts of YouTube?
rollulus超过 7 年前
How does such a system deal with TLS?
评论 #15608361 未加载
评论 #15608585 未加载
trisimix超过 7 年前
&quot;we’ll be focusing on getting it working on a small, ARM-based computing device called a Raspberry Pi (RPi), which costs about $100&quot; holy fuck that made me laugh I realize it might australian but it came off to me as satire haha.
amelius超过 7 年前
I&#x27;m wondering if one day we can have a device between the computer and the monitor that eliminates ads based pixels only.<p>The advantage is that you can eliminate any ad, also if it is embedded in the content, and not served from an ad-server.
wodenokoto超过 7 年前
What do you do when you need to look at ads, or you have false positive?
评论 #15611110 未加载
yeswecatan超过 7 年前
Does it matter which Pi you run it on? I&#x27;m slightly concerned about slowing things down.
tyler33超过 7 年前
I ran an ad blocker on my router, simpler and cheaper