Re: [Openvpn-users] client-connect is not executed

2013-09-04 Thread Dmitry Melekhov
Hello! 04.09.2013 21:32, David Sommerseth пишет: Ahh! I didn't quite catch that. Okay, --client-connect isn't designed to be called on re-establishments. Only on new connections. That is, a connection which has been through a complete disconnection phase. A complete disconnection can take

Re: [Openvpn-users] client-connect is not executed

2013-09-04 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/09/13 17:08, Jan Just Keijser wrote: > Hi, > > Dmitry Melekhov wrote: >> Hello! >> >> I run OpenVPN 2.2.1 server. >> >> And there are clients connected by mobile links, so they are not >> stable. Connections are over udp. >> >> On connect r

Re: [Openvpn-users] client-connect is not executed

2013-09-04 Thread Dmitry Melekhov
04.09.2013 20:04, David Sommerseth пишет: >> - post your server config - try replacing the 'client-connect' >> script with something like >> >> #!/bin/bash exit 1 >> >> clients should no longer be able to connect - if they are, you know >> the client-connect script is not called properly > That's a

Re: [Openvpn-users] client-connect is not executed

2013-09-04 Thread David Sommerseth
On 04/09/13 18:43, Dmitry Melekhov wrote: > 04.09.2013 20:04, David Sommerseth пишет: >>> - post your server config - try replacing the 'client-connect' >>> script with something like >>> >>> #!/bin/bash exit 1 >>> >>> clients should no longer be able to connect - if they are, you know >>> the clie

Re: [Openvpn-users] client-connect is not executed

2013-09-04 Thread Jan Just Keijser
Hi, Dmitry Melekhov wrote: > Hello! > > I run OpenVPN 2.2.1 server. > > And there are clients connected by mobile links, so they are not stable. > Connections are over udp. > > On connect route add script is executed, on disconnect- route del. > As you see, route del was executed, but no route a

[Openvpn-users] client-connect is not executed

2013-09-04 Thread Dmitry Melekhov
Hello! I run OpenVPN 2.2.1 server. And there are clients connected by mobile links, so they are not stable. Connections are over udp. On connect route add script is executed, on disconnect- route del. As you see, route del was executed, but no route add. Sep 4 12:45:19 inetgw1 openvpn[2692]: