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

[Openvpn-users] Re: --ifconfig-pool-persist as allocation of fixed IPs


  • Subject: [Openvpn-users] Re: --ifconfig-pool-persist as allocation of fixed IPs
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Thu, 3 Feb 2005 13:50:07 -0700 (MST)

On Thu, 3 Feb 2005, Mathias Sundman wrote:

> On Thu, 3 Feb 2005, James Yonan wrote:
> 
> > Change Log:
> >
> > 2005.02.03 -- Version 2.0-rc11
> >
> > * If --ifconfig-pool-persist seconds parameter is 0, treat
> >  persist file as an allocation of fixed IP addresses
> >  (previous versions took IP-to-common-name associations
> >  from this list as hints, not mandatory static allocations).
> 
> So, the IPs listed in this file will now be excluded from the normal 
> ifconfig-pool, so that they will never be assigned to another client, 
> right?

Yes.

> Is the file re-read every time a client connects, so new static 
> allocations can be made without restarting the server?

No, it will only be re-read on SIGHUP.  It's really an initial state 
configuration, not something that's dynamic like --client-config-dir.

It's easier to set up than --client-config-dir and is useful if most of 
your clients can receive a dynamic address, but you want to reserve the 
first few addresses in the pool for specific clients which need to have a 
fixed VPN IP address.

But if you want to be able to assign fixed IP addresses on the fly without 
restarting the server daemon, it's a better idea to use 
--client-config-dir.

James

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


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-02/msg00064.html on line 210

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-02/msg00064.html on line 210