On 07/10/13 13:12, Indunil Jayasooriya wrote:
Hi,

I configured openvpn on openbsd 5  (64bit) . clients CAN  connect to this
OpenBSD VPN Server. But OpenBSD VPN Server gives the same ip address for
vpn client computers

I tested with 2 clients


my /etc/openvpn/server.conf file


# Address range for the tun(4) interfaces
server 10.0.1.0 255.255.255.0

# Uncomment to allow clients to dynamically change address (useful for
# road-warriors)
#float


I connected from one client computer , then that client's vpn ip was
10.0.1.6

While the above client was connected, I connected from another client
computer, then too, this client computer got the same ip address (10.0.1.6)

Why's that?


this is the source I referred to

http://www.kernel-panic.it/openbsd/vpn/vpn4.html

any idea?

I think you should refer to openvpn(8) documentation as well as to
http://openvpn.net/index.php/open-source/documentation/manuals.html and
http://openvpn.net/index.php/open-source/documentation/examples.html

Also read about options:
ifconfig-pool-persist
duplicate-cn
client-config-dir
username-as-common-name

Also check if you're connecting with the same username/certificate.

G

Reply via email to