Launch OpenVPN connection from KeePass

0
(0)

If you use the KeePass Password Manager for system administration, it makes sense to launch the connection and authentication directly from KeePass, for this purpose the user and password can be transferred via variables to another program, such as an FTP client or a browser. It would also be practical if you could launch a VPN tunnel directly from KeePass.

This tutorial shows how to set up and launch a VPN connection from KeePass using the OpenVPN GUI.

Start KeePass OpenVPN connection

In which a new entry is created in KeePass, we add the target gateway to User name, namely the file name of the .ovpn connection file, which is created in the OpenVPN GUI, for connection to a VPN router or to a firewall.

cmd://"C:\Program Files\OpenVPN\bin\openvpn-gui.exe" --config_dir %USERPROFILE%\OpenVPN\config\ --connect {USERNAME}

Insert the line in the URL field, the paths correspond to those provided during the installation of the OpenVPN GUI Setup. If different directory paths are used, they must be adjusted.

The VPN connection is now started in the KeePass overview with a double click on the URL line, or with hit the key Ctrl+U.

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Leave a Reply

Your email address will not be published.