I've been tinkering with Pi-Hole, routing DNS requests and ad-blocking through my main machine in my home network. That got me thinking; could I route all traffic through this PC and utilise the VPN connection there for all clients on the network?

I've looked the option of an expensive OpenVPN enabled router, but if it's possible on my Linux box that would be ideal.

Any help or pointers are much appreciated.



1 Answer 1


your problem looks simple, I think that this tutorial will help you

and this article is also helpful, just set up your openvpn then replace the eth0 and eth1 in the article with your network interface and your vpn interface (usually tun0)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.