From fd4d4671b90cdfb06b0f4a8af5a4039a8b9e8bb3 Mon Sep 17 00:00:00 2001 From: Christos Date: Tue, 2 Aug 2016 11:22:07 +0300 Subject: [PATCH] Set `keepalive` conf to client script --- vpn-proxy/app/tunnels.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vpn-proxy/app/tunnels.py b/vpn-proxy/app/tunnels.py index 9cd8084..3567371 100644 --- a/vpn-proxy/app/tunnels.py +++ b/vpn-proxy/app/tunnels.py @@ -239,7 +239,8 @@ def get_client_conf(tunnel): 'port %s' % tunnel.port, 'ifconfig %s %s' % (tunnel.client, tunnel.server), 'secret %s' % tunnel.key_path, - 'proto %s' % tunnel.client_protocol]) + 'proto %s' % tunnel.client_protocol, + 'keepalive 10 120']) def get_client_script(tunnel):