Browse Source

Update ocserv.conf

MoeClub 5 years ago
parent
commit
d7dcc5e884
1 changed files with 5 additions and 5 deletions
  1. 5 5
      AnyConnect/ocserv/ocserv.conf

+ 5 - 5
AnyConnect/ocserv/ocserv.conf

@@ -27,12 +27,12 @@ auto-select-group = false
 net-priority = 6
 max-clients = 256
 max-same-clients = 256
-#switch-to-tcp-timeout = 0
+switch-to-tcp-timeout = 0
 max-ban-score = 0
 keepalive = 86400
-#dpd = 96
-#mobile-dpd = 1800
-#try-mtu-discovery = false
+dpd = 96
+mobile-dpd = 1800
+try-mtu-discovery = false
 #output-buffer = 64
 compression = false
 no-compress-limit = 512
@@ -43,7 +43,7 @@ cookie-timeout = 48
 persistent-cookies = false
 deny-roaming = false
 rekey-time = 86400
-rekey-method = new-tunnel
+rekey-method = ssl
 use-utmp = false
 use-occtl = true
 device = ocserv