Making My Own VPN with Pi 5

I agree, great project but also, what a waste of 8 GB RAM.

St the risk of sounding like a fanboy, Tailscale can make your life easier here.

I do recognise the risk with it (third party) but as a step into the vpn self hosted, this will definitely make the progress more bitesize

I also have a Raspberry Pi 4 and was thinking of installing OMV7 to use a my own “Dropbox”. I currently have OMV6 for this. My intention was to install docker, then try some images like pi-hole etc, but didn’t have the courage to start in case I made a mess of it. Also how can I access my Pi while I’m away from home. Is there any step-by-step tutorials that you could recommend to help a retired novice like myself? Any advice would be appreciated.

I used WireGuard. It’s great because it’s very lightweight and extremely secure!

I run this too, as a backup, but a rpi4 with wg-easy docker gives me a gui

I plan on doing this at some point in 2025 also! did you hit any roadblocks?

I just got my pihole raspberry pi running two weeks ago and hoping to have a vpn but im an absolute newbie to linux. do any of you have a step by step or advise to geton right path? Im just learning linux and its intimidating lol. I bought the pi 5 with 1tb ssd and nice case for my bday but now need to make sure does more than pihole with unbound

Yes I am aware but thanks! I I do have a crontab task that updates my IP through DuckDNS

For me the problem is CGNAT. Makes it impossible to expose anything to the internet without relying on an external service, like a server on a VPS or something like Tailscale.

Posts like these and the comments under them make me wonder. I have only ever lived in exactly one apartment where I wasn’t behind a CGNAT, and that was only because I was lucky enough to have an option to pay for a dedicated IP as an extra to my subscription. That has not been always a possibility. How are there so many of you who can freely route shit in and out of your homelabs? Where do you live?

How is twingate performing there? I tried to use it as a test (I’m on tailscale, pretty happy actually), but the twingate app for android sounded crappy.

Yeah I created my own VPN fully from scratch on my own Pi

Same here, except I’m using Docker instead of Portainer. Need to upgrade too, just doing some clean up of dupe files first. Are you putting pihole in the same pi4 running omv6?

Hi, if you don’t mind, what is the benefit of a travel router?

^([pending accept]) u/Teranya8 tipped u/LetsGoLinux 200 Pepecoin | accept | decline |

^([verified]) u/Teranya8 tipped u/LetsGoLinux 200 Pepecoin | wiki | stats |

I forced them all to :joy:

WireGuard is multitudes faster than openvpn, as a heads up

Yeah everyone’s right WireGuard is 100% teh way to go! Miles faster and more secure

I mean not exactly a waste

The good thing about docker is if you make a mess of a container, you can just remove it and start over since the point of docker is to run it isolated. I’ve personally been getting into docker-compose more since I like not having to type configs in a docker run command every time. I just have different folders for each stack with their compose files and other configs so I can stand up different genre stacks at different times (i.e. I have a Firefly III stack, a “dashboards” stack, and a Minecraft server stack).

As for setting up the VPN, I actually just installed it on the pi itself without docker. My logic there was I wouldn’t be able to mess that up once it’s set up because I wouldn’t be able to access it through docker commands at all. Maybe that’s incorrect, but again I’m pretty new.

As for accessing your Pi, if you’re ok with just command line what I do is connect to my VPN then just ssh into my Pi/other computers. If you still want a GUI, I’m not sure there how I would do it.