On Tue, 2 Nov 2004, Sébastien V wrote:
i m trying to give fixed IP address to my clients,but it doesnt work.
here is my configuration :
server 10.1.0.0 255.255.255.0
client-config-dir ccd
route 10.1.0.0 255.255.255.252
then i created a directory ccd
and create a file in it called vpnclient1
in this file i put this:
ifconfig-push 10.1.0.18 10.1.0.17
vpnclient1 is the name of the key/certificate for this client.
when i connect to the server,my client never get this static IP.
You should probably use:
ifconfig-push 10.1.0.17 10.1.0.18
I don't think the reverse works.
Also, make sure the Common Name used in the user certificate is
"vpnclient1", or rather make sure the ccd file is named as the CN, not the
filename the the client certificate.
--
_____________________________________________________________
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
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/2004-11/msg00023.html on line 191
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/2004-11/msg00023.html on line 191
|