[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] --ping-restart



> > > Check out --persist-key and --persist-tun.
> > 
> > both are set, at both ends - shouldn't they be?
> 
> Yes, they should allow OpenVPN to restart in unprivileged mode, without
> hitting any errors due to insufficient privilege to read key files or reopen
> the tun/tap  interface.

i don't think it is a key file problem:

RWWRWRWRWRWWWTue Feb  3 10:58:46 2004 1276[0]: Inactivity timeout (--ping-restart), restarting
Tue Feb  3 10:58:46 2004 1277[0]: Closing TCP/UDP socket
Tue Feb  3 10:58:46 2004 1278[0]: Restart pause, 5 second(s)
Tue Feb  3 10:58:51 2004 1279[0]: Re-using SSL/TLS context
Tue Feb  3 10:58:51 2004 1280[0]: LZO compression initialized
Tue Feb  3 10:58:51 2004 1281[0]: Control Channel MTU parms [ L:1472 D:140 EF:40 EB:0 ET:0 ]
Tue Feb  3 10:58:51 2004 1282[0]: Socket bind failed on local address xxx.xxx.xxx.xxx:yyy: Permission denied
Tue Feb  3 10:58:51 2004 1283[0]: Exiting

(sorry, i have changed the restart pause, thinking it may be a timing 
issue)

- it is very seldom to pingrestart, at all, on the server side, but 
always fails like this.

- linux 2.4.23, slck 9.1 (client 2.4.7-10, rh)

-- 
phone  +41 61 463 02 25
gsm    +41 79 522 50 09
email  christian.laubscher@xxxxxxxxxxxxx