this post was submitted on 10 Apr 2024
6 points (87.5% liked)

homelab

6612 readers
1 users here now

founded 4 years ago
MODERATORS
 

cross-posted from: https://lazysoci.al/post/12340365

With my Raspberry Pi basically being software/service complete, I'm starting to think more about my router and I need to make sure I'm thinking about this right.

As I envision it, my router would run OpenWRT, Pi-Hole and a VPN. Is that correct or have I got this wrong?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 3 points 7 months ago (1 children)

Running Pi-Hole and a VPN on your router might not be a good idea.

For Pi-Hole the reason is that it runs all it's components as the root account. One of them includes the PHP webserver for the dashboard.
On a more complete Linux system like raspbian, confining it to a container helps somewhat by limiting what can it do. But I'm not sure if you can run a container environment on OpenWRT. Also, routers are often quite week, so it depends on your model whether pihole would fit in to RAM at all, with all your filter lists.

For a VPN the reason is rather just the performance.
On one hand the VPN may be slow, and on the other hand it could slow down the router while someone is using it, which would affect all traffic that needs to be filtered or routed (to a different network, including the internet) from your home network.

I'm not a pro, so take these with a grain of salt, and verify if these are actually true.

[โ€“] [email protected] 3 points 7 months ago

Not a pro, but wholly useful. Honestly, I've not got a clue. I've just kinda got an idea in my head. It's like feeling around for a light switch in a house you've never been in.