Open VPN GUI config files refresh issue

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
magul
OpenVpn Newbie
Posts: 2
Joined: Tue Mar 29, 2011 1:50 pm

Open VPN GUI config files refresh issue

Post by magul » Tue Mar 29, 2011 2:00 pm

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

User avatar
gladiatr72
Forum Team
Posts: 194
Joined: Mon Dec 13, 2010 3:51 pm
Location: Lawrence, KS

Re: Open VPN GUI config files refresh issue

Post by gladiatr72 » Tue Mar 29, 2011 2:29 pm

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
[..]I used to think it was awful that life was so unfair. [...]Wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? -Marcus Cole

magul
OpenVpn Newbie
Posts: 2
Joined: Tue Mar 29, 2011 1:50 pm

Re: Open VPN GUI config files refresh issue

Post by magul » Tue Mar 29, 2011 2:57 pm

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?

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Open VPN GUI config files refresh issue

Post by janjust » Tue Mar 29, 2011 10:01 pm

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?

Post Reply