4

OpenVpn Multiple clients gets the same client ip

view full story
linux-howto

http://www.linuxquestions.org – hi I'm using openvpn-2.0.9 with gui-1.0.3 which is set up on windows xp machines(for server and clients) when i set up the server and one client it connects well and i can work without a problem. but when the second client connects it gets the same ip address of the client1, so that both clients can't work at once. my server and client config files are as follows. server-configuration file port 1194 proto udp dev tun tls-server ca ca.crt cert MY_VPN.crt key MY_VPN.key dh dh1024.pem server 10.8.0.0 255.255.255.0 ifconfig-pool-persist ipp.txt push "route 192.168.0.0 255.255.255.0" keepalive 10 120 cipher AES-256-CBC comp-lzo persist-key persist-tun status openvpn-status.log verb 3 client1-configuration file client dev tun proto udp remote my-ip-address 1194 auth MD5 tls-client resolv-retry infinite nobind persist-key persist-tun ca ca.crt cert Client1.crt key Client1.key pull comp-lzo verb 3 cipher AES-256-CBC client2-configuration file client dev tun proto udp remote my-ip-address 1194 auth MD5 tls-client resolv-retry infinite nobind persist-key persist-tun ca ca.crt cert Client2.crt key Client2.key pull comp-lzo verb 3 cipher AES-256-CBC I've tried by changing many settings such as server-bridge and all but couldn't find a solution for the problem. By the way when connected server gets 10.8.0.1/30 and every clients get same ip as 10.8.0.6/30 does any body know the cause for the problem. Thanx you in advance for any help. Regards, Buddhike G (HowTos)