Skip to content

Commit

Permalink
Client-Bypass
Browse files Browse the repository at this point in the history
  • Loading branch information
bjdgyc committed Apr 23, 2024
1 parent 75b138a commit b313c6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/handler/link_tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ func LinkTunnel(w http.ResponseWriter, r *http.Request) {
HttpSetHeader(w, "X-CSTP-Keep", "true")
HttpSetHeader(w, "X-CSTP-Tunnel-All-DNS", "false")

HttpSetHeader(w, "X-CSTP-Rekey-Time", "43200") // 172800
HttpSetHeader(w, "X-CSTP-Rekey-Time", "86400") // 172800
HttpSetHeader(w, "X-CSTP-Rekey-Method", "new-tunnel")
HttpSetHeader(w, "X-DTLS-Rekey-Time", "43200")
HttpSetHeader(w, "X-DTLS-Rekey-Time", "86400")
HttpSetHeader(w, "X-DTLS-Rekey-Method", "new-tunnel")

HttpSetHeader(w, "X-CSTP-DPD", fmt.Sprintf("%d", cstpDpd))
Expand Down

0 comments on commit b313c6f

Please sign in to comment.