Skip to content

Instantly share code, notes, and snippets.

View tribals's full-sized avatar

Anthony tribals

  • Тамбов
View GitHub Profile
@labbots
labbots / ovpn_config_merge_split.sh
Last active May 28, 2022 07:04
Open VPN Config file with inline certificate and keys does not load in network-manager. So here is a simple script to automate the config creation. The script can be used to both merge and split ovpn config files. https://labbots.com/open-vpn-config-file-split-and-merge-bash/
#!/bin/bash
#https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/606365
#http://howto.praqma.net/ubuntu/vpn/openvpn-access-server-client-on-ubuntu
#!/bin/bashset -e
function usage(){
echo -e "\nThe script can be used to split or merge ovpn file."