Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You could also setup PiVPN[1] on the same Raspberry Pi running Pi-hole with Wireguard and setup all your mobile devices to automatically connect back home when they're off the home wifi.I've had this setup running for a couple of months now and couldn't be happier with it.

[1]: https://github.com/pivpn/pivpn



I am using pihole and WireGuard. How did you set it up so that you automatically connect back home when you are off your home network?


The WireGuard apps for iOS and OSX have a configuration section titled “On-demand activation” that lets you do this. On the iOS app, I have it set to activate on cellular connection and WiFi connections to routers if the SSID != my home router’s SSID. Likewise on OSX, except for the cellular option.


Awesome, thank you. I am not sure how I missed that previously.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: