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

Re: [Openvpn-users] static IP


  • Subject: Re: [Openvpn-users] static IP
  • From: "Remus" <rmocius@xxxxxxxxxxxxxx>
  • Date: Tue, 2 Nov 2004 16:51:10 -0000

Hi Doug,

I know that, verything is OK with CN and file name, they are the same ones.

Also I have have no permision problems.


Thanks

Remus

----- Original Message ----- From: "Doug Lytle" <support@xxxxxxxxxx>
To: <openvpn-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, November 02, 2004 3:23 PM
Subject: Re: [Openvpn-users] static IP



Remus,

The name of the file in the ccd directory has to match the CN of your client's certificate.

I have my laptop's CN as d.lytle.laptop.01 so, I create a file called the same thing. In that file I have:

   --ifconfig-push 192.168.200.70 255.255.255.0

When I connect with my laptop, I get the 192.168.200.70 address

Hope this helps,

Doug

Remus wrote:

Hi folks,

I have exactly the same problem.

Thanks

Remus

----- Original Message ----- From: "Sébastien V" <soloturku@xxxxxxxxxxx>
To: <openvpn-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, November 02, 2004 12:05 PM
Subject: [Openvpn-users] static IP


Hi again,

There is no way for me to give fixed IP to each client
it doesn't work.

here is my config:


server 10.1.0.0 255.255.255.0 client-config-dir /etc/vpn/CA-DB/ccd route 10.1.0.0 255.255.255.252

then in the directory ccd, i created a file named vpnclient1
touch vpnclient1

in the file i wrote
ifconfig-push 10.1.0.17 10.1.0.18

i opened the certificate of my client and the CN is "vpnclient1".

However when i connect to the server ,i always get the IP 10.1.0.6

how can i make it work?

thanks a lot

sebastienb





-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&opÌk
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users




____________________________________________ 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/msg00040.html on line 246

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/msg00040.html on line 246