Connecting OpenVPN to my own personal VPN

So i’ve set up a private VPN to my home network using a VPN. I also wan’t to set up another Raspberry Pi to act as a dedicated routed to connect to my own Pi VPN. Can anyone point me in the right direction? I’m a total noob, but i think I was going to follow this:

https://thepi.io/how-to-use-your-raspberry-pi-as-a-vpn-router/

but i’m not sure how to point it to my vpn, as the instructions talk of a list of available VPN

I’ve tried to google, and am not sure on how to google what i’m trying to do and won’t have time to set this part up before i wanted to try and use it (from abroad).

It’s a little hard to tell exactly what you did. It might help to know what you want to do with your VPN also.

It seems you want to access your home network while you are away from home?

You would install a VPN server on your pi at home and program your router to direct traffic to the pi to handle VPN traffic. While away from home you would use client software to access your home network using an OpenVPN profile that you created on the pi server.

Your client software varies greatly according to the platform you want to use to access your home network. By that I mean Mac, PC, iOS, Android, Linux……

Give us a little more detail about what you expect from a VPN and what you have done to get there.

That is greatly over simplified without specific instructions as to how to do it. Kind of a 30,000 foot view of what might be your situation.

(Not to complicate things) Certainly set your pi up as a RealVNC server. You can continue to visit your pi while abroad and finish setting up your VPN using VNC.

It’s a lot of alphabet soup hope it’s not overwhelming.

Just go with Tailscale or Zerotier.

Thank you so much for your reply. The main reason was to access a hard drive and printer that I have here, but I also wanted to try and use my work laptop on it. The main reason for this was to do a project, I inherited one pi and did the VPN project, so was curious and ordered another pi.

On the pi ive used to create my VPN I have followed this tutorial:

Is that a programme / app? I was going to try and use my work laptop to connect to it so can’t install any software on there

If you have followed Wolfgang’s tutorial, you have installed a VPN server. Are you able to connect to it with another device - phone, laptop? Comment by the other user regarding 3rd party software on your work laptop is sound! Don’t jeopardize your employment.

A lot of questions here are for individuals wanting to travel and give the appearance of working from home so they use a VPN, that way they get a “home” IP. That has more serious repercussions than just wanting to watch home TV sports while traveling.

I operate 4 home based VPNs (at rental properties) to give me a presence on those networks. I chose piVPN (read about it here: https://www.pivpn.io/ . I wouldn’t recommend installing it over another VPN installation. No telling what conflicts may arise.

Finally, Wolfgang is installing a WireGuard server and your post heading talks about O)penVPN. I hope you understand they are not interoperable. If your VPN uses WireGuard, your client has to use WireGuard, too.

Tailscale and ZeroTier are what they call overlay networks. Essentially it’s a vpn service that you simply install and you’re able to talk to your local network without having to poke holes in your firewall. It’s much easier to setup than say openvpn or WireGuard. Watch a few YouTube videos on either one. And don’t do this on your work laptop. Your IT department can and will monitor what you do. I work in IT.

Ah thank you for explaining. Would there be a way to set up a raspberry pi to act as a dedicated woreGuard router , to connect to it.? (I didn’t understand, thank you for pointing out).

Maybe I’ll have a look at pivpn next time I’m back in the country, would that work with an open on client?

As far as installing on work laptop, I can install anything anyway, but this job is sort of fine with me working abroad, but the contract will end soon, so it was more of an interest project, than something I necessarily needed to accomplish, just may come in handy in future, if I manage to find something fully remote.

ah, i was going to try and use it as a way to appear at home when i;m working abroad as well, so will maybe try that to before going down the openVPN route

thanks

th

Your network only needs one router and it already has one. A second one is unnecessary and will only cause problems. What function do you want your pi to accomplish as a router?

PiVPN is configurable as a WireGuard or OpenVPN server. You will make that choice at setup/installation.

Love those “interest projects”. I’ve got lots, lol. My first pi was an interest project and now I have a “herd” of about 10!

You can use Tailscale to tunnel all your traffic through home, you’ll need a computer at home that’s properly setup to allow your home subnet to be visible.

See this documentation: Subnet routers · Tailscale Docs

Ah, I have a router in Ukraine, but wanted to have a separate access point that would connect to the VPN pi project thing that will be in the UK, so I could access my VPN network in the UK without needing software on any devices in Ukraine - sorry it’s been about 20 years since I muddled round with any networking on my home network as a teenager. Thank you so much for your replies.

I had a Pyramid VPN router that did this for a few months, but wanted to try and do my own, it would connect to my Ukraine router but my work / personal laptop would always connect to the VPN router so they’d always think they were in whatever country I set that to.

I’m probably not explaining much, if anything, very well. Thank you

Ok, if I understand, you are getting into an area I am nit familiar with.

If I may restate, you want to redirect traffic when you are traveling in the UK to your home network in the Ukraine. Your WireGuard VPN server is on your Ukraine network.

You can get a VPN router in the UK that should be able to connect to your VPN pi in the Ukraine. But your special interest is turn your 2nd pi into a VPN router to connect to the Ukraine net through the VPN pi there.

You can turn your pi into a VPN server. I’ve done that. We just talked about that and you did it, too.

You can turn your pi into a router. I’ve read about that but not done it.

Can you turn your pi into a VPN router? I don’t know!

Hopefully :slight_smile: thank you again for your comments, I really appreciate you taking the time

I read read the whole conversation thread and the very first link ytou offered was a tutorial on installing OpenVPN and then later Wolftgang has you install WireGuard. A little out of my league, but I would chase an apparent incompatibility to ground.