I regularly travel abroad, and would like to be able to be online as if from my home, not just my home country. Is it possible to set up a VPN server running on my home network, so I can connect to it from anywhere in the World and be through it online?
For bonus points – can it be one on a headless Raspberry Pi, are they powerful enough to route traffic? (mostly for web browsing, online banking) Its be awesome to configure it headless, and start up automatically on reboot in case of power failures…
You could go for a pfSense-based PC router to replace your current router, and then disable all routing features including DHCP to user the old router as a pure wireless accesspoint. Then you’ll have good VPN capability and still keep wireless connectivity.
What VPN you use depends on what device you use to connect, and how adversarial the network you will be connecting from (e.g. some hotels block VPNs). The reasonable choices are IPSec/IKEv2, Wireguard and if you must OpenVPN.
I don’t know about dietpi, but I can definitely recommend WireGuard. It’s a breeze to set up and although it’s purely anecdotal, it seems faster than OpenVpn.
Just in case: Wireguard is still in beta and you should be careful that we don’t know yet how many holes it has (not fully audited).
I use it daily, and it works better than most other things, but don’t trust it (i.e. set a monitoring system to warn you from unexpected logins/weird activity and have a kill switch for your vpn).