|
From: Charles D. <cd...@sp...> - 2005-03-28 06:00:58
|
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. |