I have a few computers in my LAN that I need to reach from outside. I wish I could just use port forwarding, but I’m on Starlink, which uses a CGNAT. That means using a VPN/proxy service that provides port forwarding or using something like OpenVPN. I have not done networking work in a long time, so I’ve been reading up on OpenVPN. I have a VPS for $2 a month running Debian so I can run an OpenVPN server on it. My LAN has a pfSense firewall. I have an iPhone and iPad that I use in remote locations that I want to be able to use to reach between 1-4 systems in my LAN.
So I would be using my firewall, phone, and tablet as clients for the VPN. I would need to be able to have the clients talk to each other and for the incoming data within the VPN to pass from outside, through my firewall, then forward to the appropriate computer in the LAN. I have trouble remembering IP addresses and use “colorful” names for the systems in my LAN. For instance, one Raspberry Pi is named “imladris” and another is named “erebor.” pfSense, on my firewall, also acts as DHCP server for the LAN so all I have to type inside my LAN is “erebor” without a full domain name and it’ll load the web interface on that system.
I’d REALLY like to keep this with the roaming clients, my phone and tablet, so when I turn on OpenVPN on my phone, I can type into the browser “erebor” and that goes to the VPN, which forwards it to the pfSense client, which, in turn, sends that request to the Pi named erebor.
I’ve read through the sample config files and the OpenVPN HowTo for setting things up, but I’m not clear (and I may be misunderstanding some terms here - like I said, it’s been a LONG time…) on just what I need to do. I see (and appreciate) that the config files are so simple, but I’m still not sure what need to do to make things work the way I want. When reading through what I need to do for testing and so on, and knowing this is a first time thing for me, I don’t want to go down a rabbit hole and find I’ve spent a large number of hours working on configuration and testing and find I still don’t have the VPN doing what I need it to do.
It looks like some of this is covered in the OpenVPN HowTo, but I’m not clear on just what I need to do or how much special configuration work this will take.
How hard is it to get an OpenVPN server to behave the way I’m talking about? Any suggestions on what I need to be reading or looking for that addresses my type of situation?