But I use the same cert for all Client :(
Have u got solution, or I need create cert for each client?
Main Topics
Browse All TopicsI have Client both WinXP and Linux, and now it has dynamic IP from OpenVPN server
How to assign Static IP for them?
(I config with: dev tap0)
Thanks in advanced!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
OpenVPN cannot identify the client uniquely if you use the same certificate for all clients, hence it cannot assign the same IP each time. Opposed to DHCP, OpenVPN does not consider MAC addresses, which would help in re-assigning IP addresses.
You have to create unique certificates, which you should in any case. Imagine you have to lock one of those clients for whatever reason ... With unique certificates, you can create a revocation list to invalidate certifcates.
Yes, but how Server allocate IP address with each certificate of client?
It's mean, what IP number to allocate?
Can I assign fix IP for TAP-NIC of client?
And I have other problem, some Client connect well and not be changed IP (VPN server use DHCP)
and some other client disconnect Each Some Minutes, so change IP each restart time!
Is it normal?
No, such an interruption is unusual. However, this could be a result of confusing IP addresses between users with the same certificate.
With unique certificates, the file as mentioned keeps the certificate owner / ip address pairs. You can edit that list, if you are keen on it, but it is much easier to let them connect once to get a new IP address, which is sticky from now on.
Business Accounts
Answer for Membership
by: QlemoPosted on 2009-04-26 at 00:57:02ID: 24235025
If you have used --ifconfig-pool-persist, the certificate determines the IP address (stored in the file as stated as argument of that option). If you use the same certificate, you get the same IP address.