|
From: David C. <da...@da...> - 2009-10-12 17:14:57
|
My OpenVPN clients (2.1_rc20) don't seem to happy reconnecting after the 'reneg-sec' timeout has passed - In this case, 28800 Oct 11 18:22:35 rhnagios01 openvpn[29141]: TUN/TAP device tun0 opened Oct 11 18:22:35 rhnagios01 openvpn[29141]: /sbin/ifconfig tun0 10.3.251.6 pointopoint 10.3.251.5 mtu 1500 Oct 11 18:22:35 rhnagios01 openvpn[29141]: Initialization Sequence Completed Oct 12 02:22:33 rhnagios01 openvpn[29141]: ERROR: could not read Auth username from stdin Oct 12 02:22:33 rhnagios01 openvpn[29141]: Exiting This is my client configuration - Is there something I'm missing, or do I just need to throw a wrapper together to rerun the client when it exits? Not sure why it happily reads the user/pass from the credentials file when executed initially, but blows up when it has to rekey - FYI, it was compiled with support for saved passwords, so there is no typical interaction. daemon client dev tun proto tcp remote XXX.XXX.XXX.XXX 1194 tls-remote /C=us/L=Cleveland/O=David_Coulson/CN=davidcoulson.net/ema...@da... resolv-retry infinite nobind ca /etc/openvpn/client/REF_hqofrrIred/ca_cert cert /etc/openvpn/client/REF_hqofrrIred/certificate key /etc/openvpn/client/REF_hqofrrIred/key auth-user-pass /etc/openvpn/client/REF_hqofrrIred/credentials auth-retry nointeract auth-nocache cipher AES-256-CBC auth SHA1 comp-lzo verb 1 reneg-sec 0 keepalive 10 60 remap-usr1 SIGHUP |