openvpn-install
by angristan
A shell script that installs and manages your own OpenVPN server on a Linux machine, such as a cheap VPS or a computer at home. It lets you create and revoke connection files for each of your devices so their traffic is encrypted.
- Stars
- 16.2k
- Licence
- MIT
- Runs on
- A small server
- Setup
- Moderate
- Language
- Shell
- Age
- 3634 days
What you can do with it
- Set up a working OpenVPN server on a Linux VPS in a few minutes
- Create and revoke connection files for each phone, laptop or team member
- Give remote staff secure access to a home, office or cloud network
Make money with it
A freelancer could offer paid VPN setup and maintenance for small businesses that need secure remote access.
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Give remote staff encrypted access to internal tools or an office network without paying per-user VPN fees
- Protect traffic on public Wi-Fi for freelancers and travelling staff using a server costing a few pounds a month
Can you use it commercially?
Free to use, change and sell, including in paid products. Keep the copyright notice.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
Download the shell script with curl onto a systemd-based Linux server, make it executable and run it as root, using the interactive menu or the command-line options.
Follow the official instructions in the project README.
Things to check
- Command-line interface may change between versions, so pin to a specific commit for automation
- Only tested on amd64 and requires systemd
- Needs a server you pay for and must secure and maintain yourself
- Requires running a script as root
Checked 03 Nov 2026. Summary drafted by AI from the project's README.