[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Multiple clients with Windows OpenVPN server


  • Subject: [Openvpn-users] Multiple clients with Windows OpenVPN server
  • From: Gavin Hamill <gdh@xxxxxxxxxxxxxx>
  • Date: Wed, 16 Jan 2008 12:12:37 +0000

Hi :)

After having used OpenVPN on Linux successfully for 2 years, I'm setting
up a new server on Windows (not my choice...) and whilst I can get it
running, only a single client can connect at any one time. Multiple
clients fight each other for control of the same client IP.

The server package is 2.0.9 (with 1.0.3 GUI) from www.openvpn.se

port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.6.50.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 10.6.0.0 255.255.0.0"
push "dhcp-option WINS 10.6.1.245"
push "dhcp-option DNS 10.6.1.245"
push "dhcp-option DOMAIN ourdomain.com"
keepalive 10 12
comp-lzo
max-clients 6
persist-key
persist-tun
status openvpn-status.log
verb 3

I have created five additional TAP-Win32 adapters to match the
max-clients 6 statement.

2.0.9 is also in use on the client, an example of whose config is here.

client
dev tun
proto udp
remote XX.XX.XX.XX 1194
resolv-retry infinite
nobind
persist-key
persist-tun
mute-replay-warnings
ca ca.crt
cert rpratt.crt
key rpratt.key
comp-lzo
verb 3

The server only assigns an IP address to the "OpenVPN 1" adapter of
10.6.50.1 netmask 255.255.255.252- even though the client gets an IP of
10.6.50.6, with the server pingable at 10.6.50.5.

Any suggestions would be warmly welcomed!

Cheers,
Gavin.


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users