News for hackers. Stuff that matters.
Re:Comcast, AT&T and Verizon pose a greater surveillance ris... by ktta on Friday April 06, 2018 @02:17PM (#16775812)
Depends on the traffic from devices. If you don't have crazy high traffic, flash your router with openwrt and install wireguard. If the flash is too small, you can compile your own image with wireguard selected which doesn't need as much flash space.

Next you can choose a cloud provider, which is metered (GCE, AWS, etc), or non-metered like OVH, or Digital Ocean(they don't charge you if you go over the 1TB for now).

Or you can choose a VPN service provider like Mullvad who have wireguard option (PIA should be getting it soon), if you trust them.

Be careful in choosing your provider since you might be annoyed with the latency over time, or just get used to it.

There are tutorials for all this.

Re:Comcast, AT&T and Verizon pose a greater surveillance ris... by 411mrc on Friday April 06, 2018 @02:27PM (#16775927)
You can mitigate the speed issue by adding your own DNS local caches and then start blocking ads, trackers and malware sites and whomever you want (FB is added to the spyware list) using publicly available lists. All of this speeds browsing considerably.

A personalized router is very powerful.

Re:Comcast, AT&T and Verizon pose a greater surveillance ris... by ktta on Friday April 06, 2018 @03:03PM (#16776329)
Openwrt by default caches using dnsmasq, but the blocklist is a good idea. The problem is, even the blocklist is sometimes too big for the tiny flashes of some routers.
Re:Comcast, AT&T and Verizon pose a greater surveillance ris... by 411mrc on Friday April 06, 2018 @07:35PM (#16778444)
As another poster said, go with a mini-pc like Qotom. Uses little power, configure however you want (memory, SSD). Most web pages load instantly, and it handles a massive blocklist (Bind9). I'm slowly adding a list of always on packages like sync tools. Also, you can use an AP instead of router attached wifi. Move the Power-over Ethernet AP where you want. Ubiquiti Unifi is far better coverage than my previous consumer grade wifi. Do it all in your favorite Linux flavor.
Re:Comcast, AT&T and Verizon pose a greater surveillance ris... by ktta on Saturday April 07, 2018 @12:20AM (#16779342)
The average user doesn't want to buy more hardware, and flashing an existing router can be done in an evening.

Also, why Bind9? I don't see what's wrong with dnsmasq, and changing hosts file for blocklist. Also, I often advise against network wide blocklists unless you're the only one using the network, since subtle things break.

Here's what I do: https://news.ycombinator.com/item?id=14780738

The only thing different is that I use wireguard and dnsmasq now.

Re:Comcast, AT&T and Verizon pose a greater surveillance ris... by 411mrc on Saturday April 07, 2018 @01:03PM (#16781583)
I find having one piece of low-power hardware that is always on a handy tool. A homeserver+router, basically. I can decloud a lot of things. Having a beefier piece of hardware makes it a non-issue. I try to run things in Docker for modularity. Total hardware cost is competitive with a high-end router, but I think I get more.

Bind9 seems to be better for blocking. RPZ is made for it. I don't think dnsmasq supports RPZ though projects like Pi-Hole use dnsmasq. I'm not positive, but I think RPZ is more flexible. Bind9 seems to do anything you like. I may want to resolve DNS myself and not just forward.

I'm starting to look into configuring Bind9 to have different blocking per user using "views." Some want Facebook, some don't, so I can block accordingly. I'm not sure you can do that in dnsmasq. I did discover subtle things break, like you can't block Facebook and still access Instagram, thus the "views" approach. I don't want to change hosts file on every device, especially mobiles, and can even provide some protection for guests this way. I might do a captive page for a blocked domain and let people bypass in their view if they like, then I can have a "block-first" approach.

I do like network-wide blocking for the malware lists - if anyone acquires malware, it can't phone home (if it's on the list) and I can detect via logs. DNS as firewall seems to be a trend. I'm looking into blocking IPs via iptables as well using public lists. Maybe I'll even setup Snort or Bro. The possibilities are endless.

Re:Comcast, AT&T and Verizon pose a greater surveillance ris... by danharaj on Friday April 06, 2018 @03:07PM (#16776372)
I use a Qotom mini pc as a router. I configure it with NixOS. It's amazing.
Re:Comcast, AT&T and Verizon pose a greater surveillance ris... by Diederich on Friday April 06, 2018 @02:56PM (#16776244)
> your own DNS local caches

Doesn't that mean your ISP will now see what domains you are looking up?

Re:Comcast, AT&T and Verizon pose a greater surveillance ris... by ktta on Friday April 06, 2018 @03:00PM (#16776293)
Not if you use DNS-over-HTTPS with cloudflare or google.

https://github.com/aarond10/https_dns_proxy

Re:Comcast, AT&T and Verizon pose a greater surveillance ris... by cwingrav on Friday April 06, 2018 @03:24PM (#16776533)
Just clarifying your comment for others: Your ISP would still see the IPs of the sites your packets visit unless you are using an encrypted VPN connection. The DNS-over-HTTPS is a great addition to a VPN.

(the VPN comment was several levels up so some might miss it)

Re:Comcast, AT&T and Verizon pose a greater surveillance ris... by Diederich on Friday April 06, 2018 @04:52PM (#16777321)
Righto!
Re:Comcast, AT&T and Verizon pose a greater surveillance ris... by woah on Friday April 06, 2018 @02:21PM (#16775854)
Netflix and other video sites will be blocked from a lot of VPS providers. You may be better off going with a professional service that can keep their ips clean
Re:Comcast, AT&T and Verizon pose a greater surveillance ris... by ktta on Friday April 06, 2018 @03:01PM (#16776310)
True, but it can be mitigated by setting the routing table for Netflix IPs to avoid the tunnel. There's no standard way this can be done, but it's not impossible.
Re:Comcast, AT&T and Verizon pose a greater surveillance ris... by rbritton on Friday April 06, 2018 @03:19PM (#16776496)
I did this for a while, and it was a decent headache to maintain. I had pfSense running at the Comcast edge and configured it to route all but specifically whitelisted traffic through a VPN I controlled. Speed was slower than max but acceptable due to choosing a VPS provider close to me, but the maintenance on the whitelist was cumbersome.
Re:Comcast, AT&T and Verizon pose a greater surveillance ris... by anarchimedes on Friday April 06, 2018 @03:18PM (#16776490)
I'm interested in the implementation of this, but do not have the technical background to begin. Would you have any go to resources for a beginner?