Hi janjust,
This is how I start the server manually:
openvpn --config server.conf --tls-server &
sanitized server log:
Tue May 31 08:43:44 2011 us=67966 OpenVPN 2.1.3 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] built on Apr 12 2011
Tue May 31 08:43:44 2011 us=68333 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue May 31 08:43:44 2011 us=122090 Diffie-Hellman initialized with 2048 bit key
Tue May 31 08:43:44 2011 us=124012 Control Channel Authentication: using '/etc/openvpn/easy-rsa/2.0/keys/ta.key' as a OpenVPN static key file
Tue May 31 08:43:44 2011 us=124075 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue May 31 08:43:44 2011 us=124120 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue May 31 08:43:44 2011 us=124258 TLS-Auth MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Tue May 31 08:43:44 2011 us=124355 Socket Buffers: R=[112640->131072] S=[112640->131072]
Tue May 31 08:43:44 2011 us=124612 ROUTE default_gateway=10.60.1.2
Tue May 31 08:43:44 2011 us=128784 TUN/TAP device tun0 opened
Tue May 31 08:43:44 2011 us=128823 TUN/TAP TX queue length set to 100
Tue May 31 08:43:44 2011 us=128891 /sbin/ifconfig tun0 10.8.0.1 pointopoint 10.8.0.2 mtu 1500
Tue May 31 08:43:44 2011 us=152611 /sbin/route add -net 10.8.0.0 netmask 255.255.255.0 gw 10.8.0.2
Tue May 31 08:43:44 2011 us=168385 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue May 31 08:43:44 2011 us=172046 GID set to nogroup
Tue May 31 08:43:44 2011 us=172086 UID set to nobody
Tue May 31 08:43:44 2011 us=172105 UDPv4 link local (bound): 10.60.1.236:1194
Tue May 31 08:43:44 2011 us=172115 UDPv4 link remote: [undef]
Tue May 31 08:43:44 2011 us=172171 MULTI: multi_init called, r=256 v=256
Tue May 31 08:43:44 2011 us=172298 IFCONFIG POOL: base=10.8.0.4 size=62
Tue May 31 08:43:44 2011 us=172343 IFCONFIG POOL LIST
Tue May 31 08:43:44 2011 us=172355 client2,10.8.0.4
Tue May 31 08:43:44 2011 us=172364 client1,10.8.0.8
Tue May 31 08:43:44 2011 us=172373 client3,10.8.0.12
Tue May 31 08:43:44 2011 us=172436 Initialization Sequence Completed
Tue May 31 08:43:50 2011 us=831048 MULTI: multi_create_instance called
Tue May 31 08:43:50 2011 us=831913 10.60.1.239:1194 Re-using SSL/TLS context
Tue May 31 08:43:50 2011 us=832510 10.60.1.239:1194 LZO compression initialized
Tue May 31 08:43:50 2011 us=837794 10.60.1.239:1194 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Tue May 31 08:43:50 2011 us=837864 10.60.1.239:1194 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue May 31 08:43:50 2011 us=838980 10.60.1.239:1194 Local Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 0,cipher BF
Tue May 31 08:43:50 2011 us=839000 10.60.1.239:1194 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1
Tue May 31 08:43:50 2011 us=839108 10.60.1.239:1194 Local Options hash (VER=V4): '14168603'
Tue May 31 08:43:50 2011 us=839133 10.60.1.239:1194 Expected Remote Options hash (VER=V4): '504e774e'
RTue May 31 08:43:50 2011 us=839588 10.60.1.239:1194 TLS: Initial packet from 10.60.1.239:1194, sid=60fe5667 1876e9f2
This is how i start my 1st client:
openvpn --config client1.conf --tls-client &
client1 log:
ue May 31 08:45:49 2011 us=545602 OpenVPN 2.1.3 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] built on Apr 12 2011
Tue May 31 08:45:49 2011 us=546514 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue May 31 08:45:49 2011 us=597338 Control Channel Authentication: using '/etc/openvpn/easy-rsa/2.0/keys/ta.key' as a OpenVPN static key file
Tue May 31 08:45:49 2011 us=597448 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue May 31 08:45:49 2011 us=597463 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue May 31 08:45:49 2011 us=597590 LZO compression initialized
Tue May 31 08:45:49 2011 us=598011 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Tue May 31 08:45:49 2011 us=598146 Socket Buffers: R=[112640->131072] S=[112640->131072]
Tue May 31 08:45:49 2011 us=602205 TUN/TAP device tun0 opened
Tue May 31 08:45:49 2011 us=602368 TUN/TAP TX queue length set to 100
Tue May 31 08:45:49 2011 us=602527 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue May 31 08:45:49 2011 us=602577 Local Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher BF-CBC,auth SHA1,ke
Tue May 31 08:45:49 2011 us=602587 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 0,cipher BF-CBC,au
Tue May 31 08:45:49 2011 us=602644 Local Options hash (VER=V4): '504e774e'
Tue May 31 08:45:49 2011 us=602660 Expected Remote Options hash (VER=V4): '14168603'
Tue May 31 08:45:49 2011 us=609038 GID set to nogroup
Tue May 31 08:45:49 2011 us=609084 UID set to nobody
Tue May 31 08:45:49 2011 us=609117 UDPv4 link local (bound): [undef]:1194
Tue May 31 08:45:49 2011 us=609134 UDPv4 link remote: 10.60.1.236:1194
Tue May 31 08:45:49 2011 us=610384 TLS: Initial packet from 10.60.1.236:1194, sid=d7f36561 92bb57a5
Tue May 31 08:45:49 2011 us=701838 VERIFY OK: depth=1, /C=US/ST=NY/L=Hauppauge/O=Bascom_Byron_s_VM/CN=Bascom_Byron_s_VM_CA/emailAddress=bmorales@bascom.com
Tue May 31 08:45:49 2011 us=702440 VERIFY OK: nsCertType=SERVER
Tue May 31 08:45:49 2011 us=702454 VERIFY OK: depth=0, /C=US/ST=NY/L=Hauppauge/O=Bascom_Byron_s_VM/CN=server/emailAddress=bmorales@bascom.com
Tue May 31 08:45:49 2011 us=921192 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue May 31 08:45:49 2011 us=921246 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue May 31 08:45:49 2011 us=921304 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue May 31 08:45:49 2011 us=921315 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue May 31 08:45:49 2011 us=921456 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Tue May 31 08:45:49 2011 us=921483 [server] Peer Connection Initiated with 10.60.1.236:1194
Tue May 31 08:45:50 2011 us=941734 Initialization Sequence Completed