Auth reask
Posted: Thu Apr 28, 2011 9:45 am
Hello,
I've successfully setup a working client of OpenVPN on DNS-320 (arm architecture) under Debian.
It's starting correctly from the command line (openvpn --config /etc/openvpn/xxxx.conf), from the init script when I'm connected to the box, using auth-user-pass method and initiating the connection correctly.
However, I noticed it stops functionning after a while, so I've launched it under "screen -L openvpn --config /etc/openvpn/xxxx.conf" with 'verb 4' to have a trace (btw, it does not log to /var/log/syslog, but that's another issue imho).
The log shows that it "stops" functionning a short while after I've disconnected my ssh session; actually it asks after a while (no timestamp in the message) for authentication whereas the auth-user-pass is been working correctly on initial startup and then, of course, fails to reconnect to the server properly.
The tun module was compiled it by myself on the box, but it is still there so I assume the tun module does not crash. Restarting by hand the client allows the tunnel to be established, so no hung can be proved from that side (at least!).
Have I missed any configuration option, or something else (lack of entropy, tty related-stuff)?
Many thanks for your help
I've successfully setup a working client of OpenVPN on DNS-320 (arm architecture) under Debian.
It's starting correctly from the command line (openvpn --config /etc/openvpn/xxxx.conf), from the init script when I'm connected to the box, using auth-user-pass method and initiating the connection correctly.
However, I noticed it stops functionning after a while, so I've launched it under "screen -L openvpn --config /etc/openvpn/xxxx.conf" with 'verb 4' to have a trace (btw, it does not log to /var/log/syslog, but that's another issue imho).
The log shows that it "stops" functionning a short while after I've disconnected my ssh session; actually it asks after a while (no timestamp in the message) for authentication whereas the auth-user-pass is been working correctly on initial startup and then, of course, fails to reconnect to the server properly.
The tun module was compiled it by myself on the box, but it is still there so I assume the tun module does not crash. Restarting by hand the client allows the tunnel to be established, so no hung can be proved from that side (at least!).
Have I missed any configuration option, or something else (lack of entropy, tty related-stuff)?
Many thanks for your help