From 8a75d027517e265324adf643586868c7962cfc80 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Fri, 10 Jun 2016 19:34:59 -0500 Subject: [PATCH] Improve xl2tpd options --- vpnsetup.sh | 6 +++--- vpnsetup_centos.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vpnsetup.sh b/vpnsetup.sh index df7db19..d5da22d 100755 --- a/vpnsetup.sh +++ b/vpnsetup.sh @@ -258,12 +258,12 @@ ms-dns 8.8.4.4 noccp auth crtscts -idle 1800 mtu 1280 mru 1280 lock -lcp-echo-failure 10 -lcp-echo-interval 60 +proxyarp +lcp-echo-failure 4 +lcp-echo-interval 30 connect-delay 5000 EOF diff --git a/vpnsetup_centos.sh b/vpnsetup_centos.sh index d131a0e..626ae03 100755 --- a/vpnsetup_centos.sh +++ b/vpnsetup_centos.sh @@ -263,12 +263,12 @@ ms-dns 8.8.4.4 noccp auth crtscts -idle 1800 mtu 1280 mru 1280 lock -lcp-echo-failure 10 -lcp-echo-interval 60 +proxyarp +lcp-echo-failure 4 +lcp-echo-interval 30 connect-delay 5000 EOF