Hello fellow developers,
I’m currently researching what solutions there is for providing VPN service, my project is only for friends of mine tho.
I’ve researched on Google which there is, and I am able to find some solutions, but none with some kind of API or GUI/control panel.
I’m looking for the API, as I wish to create VPN’s on the fly with my programming.
I’ve looked into OpenVPN aswell, but it doesn’t seem to be free, which I prefer as again it’s only for my private friends.
Cheers,
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
New accounts only. By submitting your email you agree to our Privacy Policy.
I second the suggestion of OpenVPN. Here is a script for installing/managing OpenVPN: https://github.com/Nyr/openvpn-install
works great and could easily be scripted for automation.
I would recommend OpenVPN. There are two OpenVPN solutions. First one is one I think you encountered: OpenVPN Access Server, which is free only for 2 client connections. For more you need to pay. But you need OpenVPN Server which is free open source VPN server for unlimited number of (concurrent) connections.
Learn more about setting up OpenVPN Server on Ubuntu 16.04.
Also there are some tutorials here about
Tinc VPN
but more complex: How to use Ansible and Tinc VPN Basic VPN with Tinc VPNHi, i am using pritunl vpn server (based on OpenVPN). The GUI is very simple to use :) Website: https://pritunl.com/