PiHole for Friends and Family
-
I want to setup a PiHole on Digital Ocean for some friends and family, but they have dynamic IP addresses, and I want to setup rich rules to only allow DNS requests from alllowed IP addresses. Anyway to handle this?
-
VPN would fix that, but would be a huge pain.
-
Some sort of Dynamic DNS solution
-
@scottalanmiller said in PiHole for Friends and Family:
VPN would fix that, but would be a huge pain.
Thought about that, but like you said, huge pain...
-
Also, not sure how to handle smartphones, tablets, etc that travel outside the network? I guess I would have to use a VPN there?
-
Using SaltStack might be a solution?
Maybe @scottalanmiller have an idea about taking advantage of using salt minion to update the rich rules with the current IP address.
-
@aaronstuder said in PiHole for Friends and Family:
Also, not sure how to handle smartphones, tablets, etc that travel outside the network? I guess I would have to use a VPN there?
If you can't set the DNS addresses, yes.
-
@aaronstuder said in PiHole for Friends and Family:
Also, not sure how to handle smartphones, tablets, etc that travel outside the network? I guess I would have to use a VPN there?
Have you considered MAC filtering?
-
@black3dynamite said in PiHole for Friends and Family:
@aaronstuder said in PiHole for Friends and Family:
Also, not sure how to handle smartphones, tablets, etc that travel outside the network? I guess I would have to use a VPN there?
Have you considered MAC filtering?
Interesting Idea. Not sure that would work over the WAN?
-
What if I setup a dynamic DNS client on a computer, and have it update to my domain, say name.domain.com then have a script nslookup the domain name and update the firewall rules?
-
Would it not be easier to skip the DDNS parts and just have a script send the IP address directly?
-
@scottalanmiller yes, but how?
-
@scottalanmiller I don’t have a Linux computer at my grandparents or it would be easy
-
@aaronstuder said in PiHole for Friends and Family:
@scottalanmiller I don’t have a Linux computer at my grandparents or it would be easy
Use Python or PowerShell
-
@scottalanmiller it’s a Mac
-
-
@black3dynamite said in PiHole for Friends and Family:
@aaronstuder said in PiHole for Friends and Family:
@scottalanmiller it’s a Mac
Use Python.
Sadly all I know about Python is it’s a snake...
-
@aaronstuder said in PiHole for Friends and Family:
@black3dynamite said in PiHole for Friends and Family:
@aaronstuder said in PiHole for Friends and Family:
@scottalanmiller it’s a Mac
Use Python.
Sadly all I know about Python is it’s a snake...
Use bash?
-
@aaronstuder said in PiHole for Friends and Family:
@scottalanmiller it’s a Mac
Hence Python, the universal system automation language.
-
@ramblingbiped said in PiHole for Friends and Family:
@aaronstuder said in PiHole for Friends and Family:
@black3dynamite said in PiHole for Friends and Family:
@aaronstuder said in PiHole for Friends and Family:
@scottalanmiller it’s a Mac
Use Python.
Sadly all I know about Python is it’s a snake...
Use bash?
True, could be done just like on Linux.