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

Re: [Openvpn-users] fixed VPN IP address


  • Subject: Re: [Openvpn-users] fixed VPN IP address
  • From: Sébastien V <soloturku@xxxxxxxxxxx>
  • Date: Tue, 02 Nov 2004 11:29:03 +0200

Hello thank you for your message,

yes definitely,i checked my client certificate and its common name is vpnclient1
So on my debian server, i created a file named vpnclient1 (touch vpnclient1) and put in it the command ifconfig-push 10.1.0.17 10.1.0.18
it doesnt work either.
In the log file i see the connection of client because of this: [vpnclient1]
my client never get this static IP.


best regards

Sebastien

From: Mathias Sundman <mathias@xxxxxxxxxx>
To: Sébastien V <soloturku@xxxxxxxxxxx>
CC: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Openvpn-users] fixed VPN IP address
Date: Tue, 2 Nov 2004 10:07:46 +0100 (CET)

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

_________________________________________________________________ MSN Hotmail : antivirus et antispam intégrés http://search.msn.fr


____________________________________________ 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/2004-11/msg00024.html on line 213

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/msg00024.html on line 213