[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] noticing client-config file updates while server running?


  • Subject: Re: [Openvpn-users] noticing client-config file updates while server running?
  • From: Mathias Sundman <mathias@xxxxxxxxxx>
  • Date: Fri, 1 Oct 2004 19:30:29 +0200 (CEST)

On Fri, 1 Oct 2004, Ed Ravin wrote:

I'm testing OpenVPN 2.0beta11 on NetBSD 1.6.2. I'm using client-config-dir to run a script when a client connects. The script has only one line, an "ifconfig-push" directive to give the client the desired IP address.

When I update the script, or add a new one, the server still serves the old information (or doesn't notice the new script). I need to restart the server (or maybe reload, haven't tested that yet). Shouldn't openvpn notice that the files have changed, or at least that a new file exists in the directory?

  -- Ed, very happy with OpenVPN so far, still trying to understand
all the bells and whistles.

OpenVPN should re-read the config-dir when a new client connects. It does for me atleast! Are you sure you have used the right name?


I once made the misstake to create a file with incorrect lowercase/uppercase first char.

Does it read your file if you restart OpenVPN?

--
_____________________________________________________________
Mathias Sundman                  (^)   ASCII Ribbon Campaign
OpenVPN GUI for Windows           X    NO HTML/RTF in e-mail
http://www.nilings.se/openvpn    / \   NO Word docs in e-mail

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users