dear all,
There is openvpn server with default pool of IPs.
IP of the server is 10.8.0.1
there are two clients connected with the same configs and both get the same IP 10.8.0.6?
Why this clients gets the same IP?
How can I list IPs of connected clients?
logs:
"new connection by client 'klient02' 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.
"
regards
GN
two vpn clients gets the same IP?
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Jan 20, 2011 10:31 am
- Bebop
- Forum Team
- Posts: 301
- Joined: Wed Dec 15, 2010 9:24 pm
Re: two vpn clients gets the same IP?
Exactly as the error message suggests. If you want to share the same certificate between multiple clients, then you must add "duplicate-cn" to your server.confstentor wrote: Remember to use the --duplicate-cn option if you want multiple clients using the same certificate or username to concurrently
Ideally, you would generate a unique certificate for each client. If you don't want to generate unique certificates, then use the duplicate-cn command.
This is the cause of your problem, which only 1 client can connect.
The cure for boredom is curiosity