On 28/06/17 10:17, SaAtomic wrote:
> Hello,
> what is the correct way of managing/observing the IP pool on an OpenVPN
> server?
> 
> I'm not sure if this is manged by OpenVPN or the underlying operating
> system.
> 
> With this server configuration:
>     port 443
>     proto udp
>     dev tun
>     server 172.16.0.0 255.255.255.0

The --server line above defines the IP address pool OpenVPN will use.
With that line, OpenVPN takes responsibility for all IP addresses
provided to VPN clients.

This can be overruled by having either static CCD files (see the
--client-config-dir entry in the man page) where you can push a specific
IP address.  That IP address can also be outside the scope of
--ifconfig-pool (which --server automatically configures).

Another approach is to use a --plugin or --client-connect script which
can dynamically create CCD files on-the-fly, where your script can
manage and control which IP address the client should use.

For both CCD approach, also read up on the --ifconfig-push entry in the
man page.


-- 
kind regards,

David Sommerseth
OpenVPN Technologies, Inc


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to