Skip to content
OpenVPN config file splitter for NetworkManager UI
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
.drone.sec
.drone.yml
README.md
ovpnsplit.go

README.md

OpenVPN NetworkManager Split

Because NetworkManager can't read the new way of OpenVPN to create client config files.

This little tool will split the file.ovpn into 4 files (.ca.pem, .cert.pem, .key.pem, .tls-auth.pem) so you can directly link them in your NetworkManager configuration UI.

How to use

Download your .ovpn file, then

ovpnsplit file.ovpn

and you should have

file.ovpn.ca.pem
file.ovpn.cert.pem
file.ovpn.key.pem
file.ovpn.tls-auth.pem

Configure NetworkManager

Add a new network

add-net

Import a .ovpn file

import-vpn-config

Select the file

select-ovpn-file

Open the advanced config panel

advanced-config

Go to TLS Auth Tab

tls-auth

Set the key direction

set-key-direction

Limitations

Right now, it is based on .ovpn files created by the kylemanna/openvpn docker container, which handle tls-auth and stuff. Your .ovpn file might differ and you might not get all those files.

You can’t perform that action at this time.