Hi, I am trying to setup a OpenVPN server on a Debian installation, I have 2 clients connected, both clients can ping the server and I have enabled client-to-client in the server config and it looks like the routes are being passed to clients correctly. However I cannot get the two clients to ping or see each other. Any ideas would be helpful.
Below is one of the connection logs from the Client:
Wed Aug 28 12:05:19 2013 PUSH: Received control message: 'PUSH_REPLY,route 10.8.0.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.10 10.8.0.9'
Wed Aug 28 12:05:19 2013 OPTIONS IMPORT: timers and/or timeouts modified
Wed Aug 28 12:05:19 2013 OPTIONS IMPORT: --ifconfig/up options modified
Wed Aug 28 12:05:19 2013 OPTIONS IMPORT: route options modified
Wed Aug 28 12:05:19 2013 ROUTE default_gateway=192.168.168.1
Wed Aug 28 12:05:19 2013 TAP-WIN32 device [Local Area Connection 5] opened: \\.\Global\{68F16E53-BB2B-4596-8C0A-8D1106F3165F}.tap
Wed Aug 28 12:05:19 2013 TAP-Win32 Driver Version 9.7
Wed Aug 28 12:05:19 2013 TAP-Win32 MTU=1500
Wed Aug 28 12:05:19 2013 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.10/255.255.255.252 on interface {68F16E53-BB2B-4596-8C0A-8D1106F3165F} [DHCP-serv: 10.8.0.9, lease-time: 31536000]
Wed Aug 28 12:05:19 2013 Successful ARP Flush on interface [49] {68F16E53-BB2B-4596-8C0A-8D1106F3165F}
Wed Aug 28 12:05:25 2013 TEST ROUTES: 1/1 succeeded len=1 ret=1 a=0 u/d=up
Wed Aug 28 12:05:25 2013 C:\WINDOWS\system32\route.exe ADD 10.8.0.0 MASK 255.255.255.0 10.8.0.9
Wed Aug 28 12:05:25 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Wed Aug 28 12:05:25 2013 Route addition via IPAPI succeeded [adaptive]
Wed Aug 28 12:05:25 2013 Initialization Sequence Completed
One thing I did notice is the connection on the client does not have a default gateway, how do I get the server to send this to the clients?
Server Config
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
And Client Config
client
dev tun
proto udp
remote xxx.xxx.xx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\client1.crt"
key "C:\\Program Files\\OpenVPN\\config\\client1.key"
ns-cert-type server
comp-lzo
verb 3