Windows OpenVPN client: Install configuration file to user profile
I run pfSense 2.4.4 p1 with openvpn-client-export package 1.4.18-4 which will install OpenVPN client 2.4.7 on Windows 64bit.
During the client's installation the user will not be asked for the destination directory (the regular client from OpenVPN community will ask). pfSense's installer will always install the config files to C:\Program Files\OpenVPN.
I want that the installer uses the destination C:\Users<username>\OpenVPN instead.
Does anybody know how to achieve that?
Thanks for all your replies!
I would suggest you update to 2.4.5p1 which includes 2.4.9 of the installer.. 2.4.7 is dated (over a year old) for starters lots of fixes since that..
If you want to customize the install of openvpn client, its best to install it how you want with just the installer you grab from openvpn directly.. Then just add the config ovpn file.
Thank you for your reply @johnpoz.
We plan to upgrade to v2.4.5 later on this year, but I don't think that it will solve the issue.
I'm aware of the proposed way, but my aim is to automate the config file's distribution to the users' profile, because our users work without administrative privileges but shall be able to manipulate their configs.
Maybe somebody knows how to manipulate the pfSense provided OpenVPN client package in order to make it push the config file to the user profile directory?
Yeah there is nothing in the export client for example to let you do that.. But you could always roll your own installer with something like nsis I would assume
Maybe a feature request on redmine?
\Program Files\OpenVPN\config \Users\$USERNAME\OpenVPN\config
Thanks for the NSIS proposal. I will check it out.