Live data from Hacker News

Set up a cheap cloud hosted adblocker in an hour for $2.50 a month

gomez.wtf

11–20 of 128 posts

Re: Set up a cheap cloud hosted adblocker in an hour for $2.50 a month

#12
post #7

Pi-hole with raspberrypi is free.

Cloud hosted Pi-hole is also free. You pay for the hosting.

With the cloud hosting you also get a fixed ip address which you can use from all the places, while most people have dynamic ip addresses at home (which you need to track and change in all devices). Furthermore initial cost of a pi and accessories are equal to 10-20 months of hosting.

Re: Set up a cheap cloud hosted adblocker in an hour for $2.50 a month

#13
This is really neat and I had thought about doing this when I acquired a new Android device that I don't have root on. Alternatively, a program was made to host a DNS process on the phone in userland that downloads blacklists as well as uses external well known nameservers. Then use build in VPN client to redirect all DNS queries through to the daemon. DNS66 has been doing a fine job since I started using it last week. https://github.com/julian-klode/dns66

Re: Set up a cheap cloud hosted adblocker in an hour for $2.50 a month

#14
post #4

My number one reason for rooting my phone is blocking ads on a hosts-file level. It also stopped me from being able to play pokemon go, which I assume is for the best.

Why not just use Firefox with uBlock? Or do you use a lot of free apps with ads that don't offer a pay for no ads option?

Re: Set up a cheap cloud hosted adblocker in an hour for $2.50 a month

#17
Changing the DNS server on Android is really not ideal and in some networks outgoing DNS requests are blocked or redirected to the local resolver.

I know it's a lot more work but setting up Shadowsocks and Unbound with similar DNS blacklists is a much better solution. This also comes with all the benefits of using a VPN (technically, an obfuscated socks5 proxy using the android VPN interface). If you manage the network, pfSense and pfBlockerNG are also great and easy to set up.

Re: Set up a cheap cloud hosted adblocker in an hour for $2.50 a month

#18
post #9

Earlier quoted context omitted.

As long as you get a free raspberrypi and free electricity.

Considering how little a Pi consumes, you might notice the electricity cost after a few years.

Probably 50¢/month total, 47.75¢ for the electricity[1], and 2-something cents monthly opportunity cost of $30 earning interest in a money market fund.

The throughput on a Raspberry Pi isn't great though, even compared to a typical low end VPS.

[1] http://m.wolframalpha.com/input/?i=5+watt+*+months+at+13+cen...

Post reply on HN