Connecting to personal VPN server while running ProtonVPN

Hi all,

For the past few months I’ve been switching between running my personal wireguard VPN server when I’m away and a ProtonVPN connection on my Raspberry Pi while at home. I’d like to be able to run both at the same time so that I can remotely connect to my home server through my personal VPN but still have the internet traffic routed through an active ProtonVPN connection.

Would it be possible to do this by routing through ProtonVPN somehow? Preferably I would run both of the connections through Wireguard.

Thank you!

I am not exactly sure the exact route you want, maybe a simple diagram showing the path can help people understand your question.

But in any event, if you can easily toggle your raspi to send upstream traffic to proton (or not), and you connect your remote device to your raspi, is this what you want? This can be done with some setup on the raspi, like binding your wireguard server traffic to the proton. I haven’t done that before but this is possible. Some commercial router/firewall products that do both wireguard client and server and also do that.

I’d like to be able to run both at the same time

Although you’re certainly free to try it out, please bear in mind that using two VPNs simultaneously is not a supported scenario, so we can’t guarantee it’ll work as intended and won’t be able to provide support for any issues arising as a consequence.

Apologies for the somewhat convoluted question, but yes I’m looking for basically what you said. I want to connect to my raspberry pi VPN while the raspberry pi is also connected to a Proton server. I’ll look into binding wireguard to ProtonVPN. Thanks!

I am not exactly sure if it works for you, but I learnt from the qbittorrent sub that you can first setup a wireguard/openvpn connection on the raspi to proton. Then use something like gluetun to bind qbittorrent to that proton connection. After you have set it up, the rest is just some command line toggling of the binding when needed.

Would also like to highlight some details that, upon setting the above up, you may need to test to make sure your set up doesn’t leak any traffic, for example whether the DNS servers and requests were still sent through home ISP’s.

I do something similar to this but I have computer running portainer with dockers each container is a separate entity. so I have my proton VPN connected to one set of dockers and then I have my wire guard running on a separate docker so I can connect to my house. That’s something you probably have to do.