- Clone the repository:
git clone https://github.com/Ribas160/gopenvpn.git
cd gopenvpn
- Build the application:
go build -o gopenvpn ./cmd
- Clone application to easy-rsa folder
sudo cp gopenvpn /etc/openvpn/easy-rsa
Create new vpn config
sudo ./gopenvpn build {config_name}
Assemble config from already created files
sudo ./gopenvpn config {config_name}