OpenVPN gets disconnected every hour
Posted: Wed Mar 21, 2012 10:49 am
Hi,
I have a recompiled version of openvpn with --enable-password-save option.
In my openvpn command, I give :
--config <.ovpb file> --auth-user-pass <.txt file with username/password> --auth-nocache --ca <.cer file>
Server contains reneg-sec 3600 explicitly as we want to change the keys oftenly.
I get connected to the openvpn properly but on every hour, it gets disconnected with the mesage :
TLS line is found sometimes and not always.
I tried adding reneg-sec 0 & 806400 to command, but no difference. I was under the impression that due to deleting .txt & .ovpn files this must be the issue - so I don't delete those fiels now but yet no difference.
What more can be the cause for this problem ?
Can anyone help me know why do I get this error and how do I solve it.
From few days am trying to solve this issue but can't find any proepr helpline.
Any help is highly appreciated. Please try to help me at the earlist.
Thanks
I have a recompiled version of openvpn with --enable-password-save option.
In my openvpn command, I give :
--config <.ovpb file> --auth-user-pass <.txt file with username/password> --auth-nocache --ca <.cer file>
Server contains reneg-sec 3600 explicitly as we want to change the keys oftenly.
I get connected to the openvpn properly but on every hour, it gets disconnected with the mesage :
Code: Select all
Wed Mar 21 11:47:03 2012 Initialization Sequence Completed
Wed Mar 21 12:46:54 2012 TLS: soft reset sec=-1 bytes=32503964/0 pkts=44010/0
Wed Mar 21 12:46:54 2012 ERROR: could not read Auth username from stdin
Wed Mar 21 12:46:54 2012 Exiting
I tried adding reneg-sec 0 & 806400 to command, but no difference. I was under the impression that due to deleting .txt & .ovpn files this must be the issue - so I don't delete those fiels now but yet no difference.
What more can be the cause for this problem ?
Can anyone help me know why do I get this error and how do I solve it.
From few days am trying to solve this issue but can't find any proepr helpline.
Any help is highly appreciated. Please try to help me at the earlist.
Thanks