Skip to content

OpenVPN config file splitter for NetworkManager UI

Notifications You must be signed in to change notification settings

dolanor/ovpnsplit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.