Networkmanager-openvpn - ArchWiki

# Networkmanager-openvpn

From ArchWiki
Jump to navigation Jump to search

This article or section is a candidate for merging with Networkmanager.

Notes: Too short for a separate page. (Discuss in Talk:Networkmanager-openvpn#)

networkmanager-openvpn is a plugin to support OpenVPN connections in NetworkManager

#### Adding a connection

Although you could manually configure a connection to an OpenVPN server, you will most likely have a `.ovpn` file.

### Use .ovpn file through GUI

If you are using network-manager-applet, you can do `VPN Connections -> Configure VPN -> + -> Import a saved VPN connection...`

### Use .ovpn file through CLI

    nmcli connection import type openvpn file <file.ovpn>

## Troubleshooting

### No Certificate password

If you get:

    Warning: password for 'vpn.secrets.password' not given in 'passwd-file' and nmcli cannot ask without '--ask' option.
    Error: Connection activation failed: No valid secrets

Even with

    [vpn]
    cert-pass-flags=0

You can add:

    [vpn-secrets]
    cert-pass=<anything you want>

Category:

- Network managers

Hidden category:

- Pages or sections flagged with Template:Merge