LinuxWindows

Where Are OpenVPN Config Files?

OpenVPN config folders for servers (/etc/openvpn) and Windows clients (OpenVPN config dir).

Last updated

OpenVPN reads server configs from /etc/openvpn on Linux and client profiles from a config folder on Windows. Certificates and keys ride alongside.

Profile plus referenced files form one unit. A lone .ovpn without its certs fails with unhelpful TLS errors.

Where OpenVPN stores this, by platform

Linux
/etc/openvpn

Server .conf files plus certs, keys andccd dirs. Client .ovpn profiles go in client subfolders per distro. Restart the service after changes.

Windows
%USERPROFILE%\OpenVPN\config

Drop .ovpn profiles here for the GUI to list them. Keep referenced certs and keys in the same folder.

Frequently asked questions

Where do I put .ovpn profile files?

Place .ovpn files in the client config folder, then import or connect from the GUI. Certificates referenced by relative paths must travel with the profile.

Notice an outdated path? Let us know.