{{ define "admin-tunnel-manage-content" }} {{ template "nav-sidebar" . }}
{{ template "navbar-user" . }}
{{ template "tunnel-management-header" . }} {{ template "tunnel-manage-http" . }} {{ template "tunnel-manage-port" . }}
{{ template "menu-toggle" . }}
{{ template "loading-dialog" . }} {{ end }} {{ define "tunnel-management-header" }}

Remote Management

You are connected to an online tunnel and can use this page to remotely manage and apply changes to the traffic requested by the client.


{{ .Tunnel.Name }}

{{ .Tunnel.Hostname }}

{{ template "tunnel-metrics" . }} {{ end }} {{ define "tunnel-manage-http" }}

HTTP/S

{{ if .Configuration }} {{ with $tunPage := . }} {{ range $http := $tunPage.Configuration.Https }} {{ end }} {{ end }} {{ end }}
Domain Bandwidth Encryption Destination HTTP TLS Webroot
{{ $http.Domain }}
{{ with $h := $tunPage.GetHttpService $http.Domain }}{{ if $h }} Daily:
{{ $h.Bandwidth.Daily.String }}

Monthly:
{{ $h.Bandwidth.Monthly.String }}
{{ end }}{{ end }}
{{ if $http.UseLetsEnc }}
Let's Encrypt {{ else if len $http.CA }}
Custom Certificates {{ else if $http.TLS }}
TLS Proxy {{ else }}--{{ end }}
{{ $http.Destination }} {{ $http.Port }} {{ $http.TLS }} {{ $http.WebRoot }}
{{ template "admin-remove-http-dialog" . }} {{ end }} {{ define "admin-remove-http-dialog" }} {{ end }} {{ define "tunnel-manage-port" }}

Ports

{{ if .Configuration }} {{ with $tunPage := . }} {{ range $port := $tunPage.Configuration.Ports }} {{ end }} {{ end }} {{ end }}
Port Bandwidth Destination Host Destination Port
{{ $port.Port }}
{{ with $p := $tunPage.GetPortService $port.Port }}{{ if $p }} Daily:
{{ $p.Bandwidth.Daily.String }}

Monthly:
{{ $p.Bandwidth.Monthly.String }}
{{ end }}{{ end }}
{{ $port.Destination }} {{ $port.DstPort }}
{{ template "admin-tun-release-port-dialog" . }} {{ end }} {{ define "admin-tun-release-port-dialog" }} {{ end }}