HighBomber
Hello,
I was thinking about setting up my first VPN (for personal use) and I have a question about the initial setup. I already manage a VPS and would like it run an OpenVPN server. My only issue is I would like the VPN clients to authenticate against a local (home) server accounts. These could be LDAP, Active Directory, or straight to a PostgreSQL database. I am flexible at this point.
What is the best way to go about this? I was thinking of hosting the OpenVPN server on my VPS, and having the local database server authenticate to the VPS using special account and a key, instead of a username and password like user accounts. This way the local database server could connect without having to authenticate against itself before it is connected. Does this make any sense?
Is this the best way to go about this? Are there other options I haven't considered? I want to learn as much as possible before I get my hands dirty.
Any help is greatly appreciated!