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

[Openvpn-users] Re: static IPs for server-mode clients [was: (no subject)]


  • Subject: [Openvpn-users] Re: static IPs for server-mode clients [was: (no subject)]
  • From: Charles Duffy <cduffy@xxxxxxxxxxx>
  • Date: Sun, 27 Mar 2005 23:54:23 -0600

On Mon, 28 Mar 2005 08:32:42 +0800, lilixinCQU wrote:

> openvpn-users:
>    How can I disable the DHCP function of OpenVpn Server and assig a
>    static IP to my client? Can some one give me advice ?

You're using server mode, so I take it you have multiple clients?

You can either use a ifconfig-pool-persist file with seconds set to 0
(with the caveat that this prevents systems with their IPs *not* specified
in the file from having them persisted), or, better, use a
client-config-dir to specify ifconfig-push directives.

This is covered in the man page.


____________________________________________
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-03/msg00652.html on line 189

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-03/msg00652.html on line 189