mirror of
https://github.com/luscis/openlan.git
synced 2025-10-24 09:23:21 +08:00
fix: display stats by html.
This commit is contained in:
@@ -69,8 +69,7 @@ conn {{ .Name }}-c2
|
||||
rightid=@c1.{{ .RightId }}.{{ .Transport }}
|
||||
{{- end }}
|
||||
leftprotoport=udp
|
||||
rightprotoport=udp/8472
|
||||
`,
|
||||
rightprotoport=udp/8472`,
|
||||
"gre": `
|
||||
conn {{ .Name }}-c1
|
||||
auto=add
|
||||
@@ -92,11 +91,9 @@ conn {{ .Name }}-c1
|
||||
{{- end }}
|
||||
authby=secret
|
||||
leftprotoport=gre
|
||||
rightprotoport=gre
|
||||
`,
|
||||
rightprotoport=gre`,
|
||||
"secret": `
|
||||
%any @{{ .RightId }}.{{ .Transport }} : PSK "{{ .Secret }}"
|
||||
`,
|
||||
%any @{{ .RightId }}.{{ .Transport }} : PSK "{{ .Secret }}"`,
|
||||
}
|
||||
|
||||
func (w *IPSecWorker) Initialize() {
|
||||
|
||||
Reference in New Issue
Block a user