This shouldn't be the cause of any disconnection. 10.8.0.2 is the first IP address in the pool which is assigned to the first client. If that client disconnects the IP address is freed up and it will be reassigned to the next client that connects. The only time you'll see IP addresses 10.8.0.3, 10.8.0.4, etc. is when you have multiple clients connected at the same time.Because of this, obviously, the clients are getting disconnected each other.
I can't image how that is possible. Look at the router's syslog when the second client connects to see why it is assigning the invalid address.It is about having multiple clients. My concern is that I have 2 clients connected and both are taking the same IP.
What customisation are you doing to the default setup?As well, please notice that the problem of IP assignment is resolved if I set "Manage Client-Specific Options" to NO. [but I need this to be YES, so is not a permanent solution]
if you have multiple clients with same client keys it's disconnect when other connecting.I have Merlin 386.4 on my RT-AC68U router. I configured TUN OpenVPN, but all my VPN clients are getting same IP 10.8.0.2. Because of this, obviously, the clients are getting disconnected each other.
Look at the router's syslog when the second client connects to see why it is assigning the invalid address.
It's strange you don't get this rather obvious message in your syslog:I do not see a reason in syslog why this happens.
Feb 19 16:30:07 ovpn-server1[25148]: MULTI: new connection by client 'client' will cause previous active sessions by this client to be dropped. Remember to use the --duplicate-cn option if you want multiple clients using the same certificate or username to concurrently connect.
username-as-common-name
That was changed a few release ago, to follow the recommendation of the OpenVPN developers. When using "Manage Client Options", you are expected to create a separate configuration for each client, including a unique certificate. That option enables the use-client-dir option.I did not setup duplicate-cn in older versions of the Merin firmware.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!