OpenVPN config generator: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
Line 2: Line 2:


[https://github.com/koss822/misc/tree/master/Linux/Projects/openvpn/conf_generator GitHub Project]
[https://github.com/koss822/misc/tree/master/Linux/Projects/openvpn/conf_generator GitHub Project]
== About project ==
This config generator is type of a tool I was always looking for. Actually you do not have to type some command to generate every simple config and you have all clients configurations in one config file - YAML. Every time you run a config generator it looks to YAML for a new config entries and generates only them. It automatically generates all certificates, not just client, but also CA authority, server keys, etc.
The big advantage of my config generator is that it uses static IP addresses to assign to every point with network topology. What does it mean? Every device connected to VPN is able to communicate with every other device connected to VPN using its static IP address. That does mean that you can build your own private VPN LAN where all your devices are able to communicate together.
Because of problems with interruption of malfunctioning OpenVPN clients I have also written a few scripts to automatically check and restart OpenVPN clients when it is not working.
== Installation ==
1. Copy files to ''/etc/openvpn''
2. Start OpenVPN service for each configuration file and enable it


== Directory structure ==
== Directory structure ==

Navigation menu