Hello again, configs are requested:
Server config (I commented out the client-config-dir setting):
mode server
tls-server
local x.x.x.x
port 8757
proto udp
dev tun
client-to-client
#client-config-dir /etc/openvpn/ccd-tcp
persist-key
persist-tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
tls-auth ta.key 0
cipher BF-CBC
comp-lzo
server 10.9.0.0 255.255.255.0
push "topology subnet"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
max-clients 40
crl-verify /etc/openvpn/easy-rsa/2.0/keys/crl.pem
user nobody
group nogroup
keepalive 10 120
status /etc/openvpn/log/compatible-status.log
log /etc/openvpn/log/faster.log
verb 4
mute 20
Client config:
remote x.x.x.x 8757
pull
tls-client
ns-cert-type server
tls-auth ta.key 1
persist-key
ca ca.crt
proto udp
redirect-gateway def1
nobind
cert cert.crt
comp-lzo
dev tun
key key.key
cipher BF-CBC
resolv-retry infinite
and here are my attempts to connect after restarting the openvpn daemon on my server after commenting out the CCD lines:
2013-09-26 15:53:32 VERIFY OK: depth=0
cert. version : 3
serial number : 01
issuer name : C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, CN=Fort-Funston CA, emailAddress=me@myhost.mydomain
subject name : C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, CN=server, emailAddress=me@myhost.mydomain
issued on : 2010-09-08 17:37:25
expires on : 2020-09-05 17:37:25
signed using : RSA+SHA1
RSA key size : 1024 bits
2013-09-26 15:53:32 VERIFY OK: depth=1
cert. version : 3
serial number : BF:76:68:E4:74:0B:CC:D4
issuer name : C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, CN=Fort-Funston CA, emailAddress=me@myhost.mydomain
subject name : C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, CN=Fort-Funston CA, emailAddress=me@myhost.mydomain
issued on : 2010-09-08 17:36:53
expires on : 2020-09-05 17:36:53
signed using : RSA+SHA1
RSA key size : 1024 bits
2013-09-26 15:54:14 Session invalidated
2013-09-26 15:54:14 Client terminated, restarting in 2...
2013-09-26 15:54:16 EVENT: CONNECTION_TIMEOUT [ERR]
2013-09-26 15:54:16 EVENT: DISCONNECTED
2013-09-26 15:54:16 Raw stats on disconnect:
BYTES_IN : 4344
BYTES_OUT : 5927
PACKETS_IN : 34
PACKETS_OUT : 60
KEEPALIVE_TIMEOUT : 1
CONNECTION_TIMEOUT : 1
2013-09-26 15:54:16 Performance stats on disconnect:
CPU usage (microseconds): 198661
Network bytes per CPU second: 51701
Tunnel bytes per CPU second: 0
2013-09-26 15:54:16 ----- OpenVPN Stop -----
2013-09-26 15:54:16 EVENT: DISCONNECT_PENDING
2013-09-26 15:54:23 ----- OpenVPN Start -----
2013-09-26 15:54:23 LZO-ASYM init swap=0 asym=0
2013-09-26 15:54:23 EVENT: RESOLVE
2013-09-26 15:54:23 Contacting x.x.x.x:8757 via UDP
2013-09-26 15:54:23 EVENT: WAIT
2013-09-26 15:54:23 Connecting to x.x.x.x:8757 (x.x.x.x) via UDPv4
2013-09-26 15:54:24 EVENT: CONNECTING
2013-09-26 15:54:24 Tunnel Options:V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-client
2013-09-26 15:54:24 Peer Info:
IV_VER=1.0
IV_PLAT=ios
IV_NCP=1
IV_LZO=1
2013-09-26 15:54:26 VERIFY OK: depth=0
cert. version : 3
serial number : 01
issuer name : C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, CN=Fort-Funston CA, emailAddress=me@myhost.mydomain
subject name : C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, CN=server, emailAddress=me@myhost.mydomain
issued on : 2010-09-08 17:37:25
expires on : 2020-09-05 17:37:25
signed using : RSA+SHA1
RSA key size : 1024 bits
2013-09-26 15:54:26 VERIFY OK: depth=1
cert. version : 3
serial number : BF:76:68:E4:74:0B:CC:D4
issuer name : C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, CN=Fort-Funston CA, emailAddress=me@myhost.mydomain
subject name : C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, CN=Fort-Funston CA, emailAddress=me@myhost.mydomain
issued on : 2010-09-08 17:36:53
expires on : 2020-09-05 17:36:53
signed using : RSA+SHA1
RSA key size : 1024 bits
2013-09-26 15:54:28 SSL Handshake: TLSv1.0/SSL-EDH-RSA-AES-256-SHA
2013-09-26 15:54:28 Session is ACTIVE
2013-09-26 15:54:29 EVENT: GET_CONFIG
2013-09-26 15:54:29 Sending PUSH_REQUEST to server...
2013-09-26 15:54:29 OPTIONS:
0 [redirect-gateway] [def1]
1 [topology] [subnet]
2 [dhcp-option] [DNS] [8.8.8.8]
3 [dhcp-option] [DNS] [8.8.4.4]
4 [route] [10.9.0.0] [255.255.255.0]
5 [topology] [net30]
6 [ping] [10]
7 [ping-restart] [120]
8 [ifconfig] [10.9.0.14] [10.9.0.13]
2013-09-26 15:54:29 LZO-ASYM init swap=0 asym=0
2013-09-26 15:54:29 EVENT: ASSIGN_IP
2013-09-26 15:54:29 TUN Error: option_error: more than one instance of option 'topology' with inconsistent argument(s)
2013-09-26 15:54:29 EVENT: TUN_SETUP_FAILED option_error: more than one instance of option 'topology' with inconsistent argument(s) [ERR]
2013-09-26 15:54:29 EVENT: DISCONNECTED
2013-09-26 15:54:29 Raw stats on disconnect:
BYTES_IN : 4623
BYTES_OUT : 3490
PACKETS_IN : 35
PACKETS_OUT : 35
TUN_SETUP_FAILED : 1
2013-09-26 15:54:29 Performance stats on disconnect:
CPU usage (microseconds): 186082
Network bytes per CPU second: 43599
Tunnel bytes per CPU second: 0
2013-09-26 15:54:29 ----- OpenVPN Stop -----
2013-09-26 15:54:29 EVENT: DISCONNECT_PENDING
2013-09-26 15:54:57 ----- OpenVPN Start -----
2013-09-26 15:54:57 LZO-ASYM init swap=0 asym=0
2013-09-26 15:54:57 EVENT: RESOLVE
2013-09-26 15:54:57 Contacting x.x.x.x:8757 via UDP
2013-09-26 15:54:57 EVENT: WAIT
2013-09-26 15:54:57 Connecting to x.x.x.x:8757 (x.x.x.x) via UDPv4
2013-09-26 15:54:58 EVENT: CONNECTING
2013-09-26 15:54:58 Tunnel Options:V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-client
2013-09-26 15:54:58 Peer Info:
IV_VER=1.0
IV_PLAT=ios
IV_NCP=1
IV_LZO=1
2013-09-26 15:55:00 VERIFY OK: depth=0
cert. version : 3
serial number : 01
issuer name : C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, CN=Fort-Funston CA, emailAddress=me@myhost.mydomain
subject name : C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, CN=server, emailAddress=me@myhost.mydomain
issued on : 2010-09-08 17:37:25
expires on : 2020-09-05 17:37:25
signed using : RSA+SHA1
RSA key size : 1024 bits
2013-09-26 15:55:00 VERIFY OK: depth=1
cert. version : 3
serial number : BF:76:68:E4:74:0B:CC:D4
issuer name : C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, CN=Fort-Funston CA, emailAddress=me@myhost.mydomain
subject name : C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, CN=Fort-Funston CA, emailAddress=me@myhost.mydomain
issued on : 2010-09-08 17:36:53
expires on : 2020-09-05 17:36:53
signed using : RSA+SHA1
RSA key size : 1024 bits
2013-09-26 15:55:02 SSL Handshake: TLSv1.0/SSL-EDH-RSA-AES-256-SHA
2013-09-26 15:55:02 Session is ACTIVE
2013-09-26 15:55:03 EVENT: GET_CONFIG
2013-09-26 15:55:03 Sending PUSH_REQUEST to server...
2013-09-26 15:55:03 OPTIONS:
0 [redirect-gateway] [def1]
1 [topology] [subnet]
2 [dhcp-option] [DNS] [8.8.8.8]
3 [dhcp-option] [DNS] [8.8.4.4]
4 [route] [10.9.0.0] [255.255.255.0]
5 [topology] [net30]
6 [ping] [10]
7 [ping-restart] [120]
8 [ifconfig] [10.9.0.14] [10.9.0.13]
2013-09-26 15:55:03 LZO-ASYM init swap=0 asym=0
2013-09-26 15:55:03 EVENT: ASSIGN_IP
2013-09-26 15:55:03 TUN Error: option_error: more than one instance of option 'topology' with inconsistent argument(s)
2013-09-26 15:55:03 EVENT: TUN_SETUP_FAILED option_error: more than one instance of option 'topology' with inconsistent argument(s) [ERR]
2013-09-26 15:55:03 EVENT: DISCONNECTED
2013-09-26 15:55:03 Raw stats on disconnect:
BYTES_IN : 4623
BYTES_OUT : 3490
PACKETS_IN : 35
PACKETS_OUT : 35
TUN_SETUP_FAILED : 1
2013-09-26 15:55:03 Performance stats on disconnect:
CPU usage (microseconds): 182092
Network bytes per CPU second: 44554
Tunnel bytes per CPU second: 0
2013-09-26 15:55:03 ----- OpenVPN Stop -----
2013-09-26 15:55:03 EVENT: DISCONNECT_PENDING
Thanks again for following up, it's much appreciated 🙂