I've imported an OpenVPN configuration file that behaves differently when trying to connect from Network Manager and command line. I would like to see what the imported configuration file looks like.
3 Answers
12.04 onwards
Connection information is stored in the directory:
/etc/NetworkManager/system-connections
Note: This directory stores other connection information such as wifi connections.
Pre 12.04
In Kubuntu, network-manager-openvpn-kde saves its profiles to:
~/.kde/share/apps/networkmanagement/connections/
In Ubuntu, network-manager-openvpn-gnome saves its profiles to:
~/.gconf/system/networking/connections/
(VPN settings are in ~/.gconf/system/networking/connections/*/vpn/%gconf.xml)
- 1,680
- 178,446
In Ubuntu 24.04 you can find the network configurations (including vpn configurations) in /etc/netplan
- 61
Yes, in Ubuntu 12.04 and later the config settings are stored in /etc/NetworkManager/system-connections -- except, when someone didn't migrate the connection information out of an older .conf file and continued using that .conf file instead. In that case, the settings are in /home/USER/.gcm/gcm.conf
- 111
- 2
- 3