Page 1 of 1

Open VPN GUI config files refresh issue

Posted: Tue Mar 29, 2011 2:00 pm
by magul
Hi,

I have a question.

I have install OpenVPN with GUI on my Win7 machine.
I have put my config and keys/certs in c:\Program Files\OpenVPN\config\ directory.
And the problem occurs, when I have to change configuration.

When I change config file, neither GUI, nor console openvpn remember old version of config file (but when I have opened config using GUI option "Edit config" there was new version of config).

And even when I delete config file, GUI and console application try to establish connection using old version of this file.

So the question is: does openvpn copy somewhere files from config directory?

Thanks for answers in advance.

Tomek

Re: Open VPN GUI config files refresh issue

Posted: Tue Mar 29, 2011 2:29 pm
by gladiatr72
The short answer is: no.

When you select the gui option to edit your configuration, it opens the file (a text file) in Notepad. When you save it, it overwrites the original.

-S

Re: Open VPN GUI config files refresh issue

Posted: Tue Mar 29, 2011 2:57 pm
by magul
So I'a dump, or there are problem with windows.

When I deleted configuration file from c:\program files\openvpn\config still coing to this folder and executing:

openvpn.exe --config <the name of deleted configuration file>

try to make a connection using configuration from deleted previously file.

How this can be possible?

Re: Open VPN GUI config files refresh issue

Posted: Tue Mar 29, 2011 10:01 pm
by janjust
make sure you are not using virtual stores - this can often cause problems on vista/7.

Run a cmd window as Administrator and then 'cd' to the directory where openvpn is installed - what do you see?