Hi and thanks for the quick response.
I commented the 2 lines out in server.conf and restarted it with /etc/init.d/openvpn restart
Connected to the VPN with the OpenVPN GUI on XP SP3.
Tried to ping 10.8.0.1 from the client, no dice.
Same with trying to ping the server's LAN ip.
Able to SSH to the server over the VPN, but that route might have been remembered from before I started the VPN, or I could have no idea what I'm talking about...
I ran ipconfig on my client and got this result for the tun device:
Ethernet adapter Local Area Connection 4:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 10.8.0.6
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Default Gateway . . . . . . . . . :
Thought the no default gateway might help you all, it is just a mystery to me 🙂.
Client tun device is set to receive IP address and DNS server address automatically.
Client log:
Tue Oct 04 12:32:00 2011 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct 1 2006
Tue Oct 04 12:32:00 2011 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Tue Oct 04 12:32:00 2011 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue Oct 04 12:32:00 2011 LZO compression initialized
Tue Oct 04 12:32:00 2011 Control Channel MTU parms [ L:1558 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Oct 04 12:32:00 2011 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 04 12:32:00 2011 Local Options hash (VER=V4): '66096c33'
Tue Oct 04 12:32:00 2011 Expected Remote Options hash (VER=V4): '691e95c7'
Tue Oct 04 12:32:00 2011 UDPv4 link local: [undef]
Tue Oct 04 12:32:00 2011 UDPv4 link remote: A.B.C.D:1194
Tue Oct 04 12:32:00 2011 TLS: Initial packet from A.B.C.D:1194, sid=6644526e e5eab058
Tue Oct 04 12:32:01 2011 VERIFY OK: depth=1, /C=US/ST=California/L=LosGatos/O=None/OU=Gander/CN=server/name=Chris/emailAddress=no@way.com
Tue Oct 04 12:32:01 2011 VERIFY OK: depth=0, /C=US/ST=CA/L=SanFrancisco/O=Fort-Funston/OU=section/CN=server/name=Karl/emailAddress=noway@out.com
Tue Oct 04 12:32:04 2011 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Tue Oct 04 12:32:04 2011 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Oct 04 12:32:04 2011 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Tue Oct 04 12:32:04 2011 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Oct 04 12:32:04 2011 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Tue Oct 04 12:32:04 2011 [server] Peer Connection Initiated with A.B.C.D:1194
Tue Oct 04 12:32:05 2011 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Oct 04 12:32:05 2011 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 10.8.0.1,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Tue Oct 04 12:32:05 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:3: topology (2.0.9)
Tue Oct 04 12:32:05 2011 OPTIONS IMPORT: timers and/or timeouts modified
Tue Oct 04 12:32:05 2011 OPTIONS IMPORT: --ifconfig/up options modified
Tue Oct 04 12:32:05 2011 OPTIONS IMPORT: route options modified
Tue Oct 04 12:32:05 2011 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Tue Oct 04 12:32:05 2011 TAP-WIN32 device [Local Area Connection 4] opened: \\.\Global\{E60404BA-F1AB-4B38-B052-25704240B754}.tap
Tue Oct 04 12:32:05 2011 TAP-Win32 Driver Version 8.4
Tue Oct 04 12:32:05 2011 TAP-Win32 MTU=1500
Tue Oct 04 12:32:05 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {E60404BA-F1AB-4B38-B052-25704240B754} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Tue Oct 04 12:32:05 2011 Successful ARP Flush on interface [65543] {E60404BA-F1AB-4B38-B052-25704240B754}
Tue Oct 04 12:32:05 2011 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Tue Oct 04 12:32:05 2011 Route: Waiting for TUN/TAP interface to come up...
Tue Oct 04 12:32:06 2011 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Tue Oct 04 12:32:06 2011 Route: Waiting for TUN/TAP interface to come up...
Tue Oct 04 12:32:07 2011 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Tue Oct 04 12:32:07 2011 Route: Waiting for TUN/TAP interface to come up...
Tue Oct 04 12:32:08 2011 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Tue Oct 04 12:32:08 2011 Route: Waiting for TUN/TAP interface to come up...
Tue Oct 04 12:32:09 2011 TEST ROUTES: 1/1 succeeded len=1 ret=1 a=0 u/d=up
Tue Oct 04 12:32:09 2011 route ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.5
Tue Oct 04 12:32:09 2011 Route addition via IPAPI succeeded
Tue Oct 04 12:32:09 2011 Initialization Sequence Completed
Tue Oct 04 12:39:52 2011 TCP/UDP: Closing socket
Tue Oct 04 12:39:52 2011 route DELETE 10.8.0.1 MASK 255.255.255.255 10.8.0.5
Tue Oct 04 12:39:52 2011 Route deletion via IPAPI succeeded
Tue Oct 04 12:39:52 2011 Closing TUN/TAP interface
Tue Oct 04 12:39:52 2011 SIGTERM[hard,] received, process exiting
Server log:
Tue Oct 4 21:27:43 2011 OpenVPN 2.1.0 x86_64-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 20 2010
Tue Oct 4 21:27:43 2011 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Tue Oct 4 21:27:43 2011 Diffie-Hellman initialized with 1024 bit key
Tue Oct 4 21:27:43 2011 /usr/bin/openssl-vulnkey -q -b 1024 -m <modulus omitted>
Tue Oct 4 21:27:43 2011 TLS-Auth MTU parms [ L:1558 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Oct 4 21:27:43 2011 ROUTE default_gateway=82.192.79.190
Tue Oct 4 21:27:43 2011 TUN/TAP device tun0 opened
Tue Oct 4 21:27:43 2011 TUN/TAP TX queue length set to 100
Tue Oct 4 21:27:43 2011 /sbin/ifconfig tun0 10.8.0.1 pointopoint 10.8.0.2 mtu 1500
Tue Oct 4 21:27:43 2011 /sbin/route add -net 10.8.0.0 netmask 255.255.255.0 gw 10.8.0.2
Tue Oct 4 21:27:43 2011 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 4 21:27:43 2011 GID set to nogroup
Tue Oct 4 21:27:43 2011 UID set to nobody
Tue Oct 4 21:27:43 2011 Socket Buffers: R=[124928->131072] S=[124928->131072]
Tue Oct 4 21:27:43 2011 UDPv4 link local (bound): [undef]
Tue Oct 4 21:27:43 2011 UDPv4 link remote: [undef]
Tue Oct 4 21:27:43 2011 MULTI: multi_init called, r=256 v=256
Tue Oct 4 21:27:43 2011 IFCONFIG POOL: base=10.8.0.4 size=62
Tue Oct 4 21:27:43 2011 Initialization Sequence Completed
Tue Oct 4 21:31:57 2011 MULTI: multi_create_instance called
Tue Oct 4 21:31:57 2011 216.139.31.193:1518 Re-using SSL/TLS context
Tue Oct 4 21:31:57 2011 216.139.31.193:1518 LZO compression initialized
Tue Oct 4 21:31:57 2011 216.139.31.193:1518 Control Channel MTU parms [ L:1558 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Oct 4 21:31:57 2011 216.139.31.193:1518 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 4 21:31:57 2011 216.139.31.193:1518 Local Options hash (VER=V4): '691e95c7'
Tue Oct 4 21:31:57 2011 216.139.31.193:1518 Expected Remote Options hash (VER=V4): '66096c33'
Tue Oct 4 21:31:57 2011 216.139.31.193:1518 TLS: Initial packet from [AF_INET]216.139.31.193:1518, sid=526b7047 480abdd3
Tue Oct 4 21:31:59 2011 216.139.31.193:1518 VERIFY OK: depth=1, /C=US/ST=California/L=LosGatos/O=None/OU=Gander/CN=server/name=Chris/emailAddress=no@way.com
Tue Oct 4 21:31:59 2011 216.139.31.193:1518 VERIFY OK: depth=0, /C=US/ST=CA/L=SanFrancisco/O=Fort-Funston/OU=pod/CN=thejestre/name=Jack/emailAddress=not@way.com
Tue Oct 4 21:32:00 2011 216.139.31.193:1518 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Tue Oct 4 21:32:00 2011 216.139.31.193:1518 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Oct 4 21:32:00 2011 216.139.31.193:1518 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Tue Oct 4 21:32:00 2011 216.139.31.193:1518 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Oct 4 21:32:00 2011 216.139.31.193:1518 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Tue Oct 4 21:32:00 2011 216.139.31.193:1518 [thejestre] Peer Connection Initiated with [AF_INET]216.139.31.193:1518
Tue Oct 4 21:32:00 2011 thejestre/216.139.31.193:1518 MULTI: Learn: 10.8.0.6 -> thejestre/216.139.31.193:1518
Tue Oct 4 21:32:00 2011 thejestre/216.139.31.193:1518 MULTI: primary virtual IP for thejestre/216.139.31.193:1518: 10.8.0.6
Tue Oct 4 21:32:02 2011 thejestre/216.139.31.193:1518 PUSH: Received control message: 'PUSH_REQUEST'
Tue Oct 4 21:32:02 2011 thejestre/216.139.31.193:1518 SENT CONTROL [thejestre]: 'PUSH_REPLY,dhcp-option DNS 10.8.0.1,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5' (status=1)
Tue Oct 4 21:43:39 2011 thejestre/216.139.31.193:1518 [thejestre] Inactivity timeout (--ping-restart), restarting
Tue Oct 4 21:43:39 2011 thejestre/216.139.31.193:1518 SIGUSR1[soft,ping-restart] received, client-instance restarting