{{ 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" }}
Add Rule
{{ if .Configuration }} {{ with $tunPage := . }} {{ if eq (len $tunPage.Configuration.Https) 0 }} {{ end }} {{ range $http := $tunPage.Configuration.Https }} {{ with $h := $tunPage.GetHTTPService $http.Domain }} {{ if $h }} {{ else }} {{ end }}{{ end }} {{ end }} {{ end }} {{ end }}
Domain Bandwidth Available Encryption Upstream Actions

No rules for HTTP traffic found

{{ $http.Domain }}
Daily:
{{ $h.Bandwidth.Daily.String }}

Monthly:
{{ $h.Bandwidth.Monthly.String }}
{{ if $h.Available }} {{ else }} {{ end }} {{ if $http.UseLetsEnc }}
Let's Encrypt {{ else if len $http.CA }}
Custom Certificates {{ else if $http.TLS }}
TLS Proxy {{ else }}--{{ end }}
{{ if len $http.Destination }} {{ if $http.Port }} HTTP:
tcp://{{ $http.Destination }}:{{ $http.Port }}

{{ end }} {{ if $http.TLS }} TLS:
tcp://{{ $http.Destination }}:{{ $http.TLS }}

{{ end }} {{ end }} {{ if $http.UpstreamURL }} URL:
{{ $http.UpstreamURL }}

{{ end }} {{ if len $http.WebRoot }} Webroot:
{{ $http.WebRoot }}

{{ end }}
{{ template "admin-remove-http-dialog" . }} {{ end }} {{ define "admin-remove-http-dialog" }} {{ end }} {{ define "tunnel-manage-port" }}
Random Port Custom Port
{{ if .Configuration }} {{ if eq (len .Configuration.Ports) 0 }} {{ end }} {{ with $tunPage := . }} {{ range $port := $tunPage.Configuration.Ports }} {{ with $p := $tunPage.GetPortService $port.Port }}{{ if $p }} {{ else }} {{ end }}{{ end }} {{ end }} {{ end }} {{ end }}
Port Bandwidth Available Destination Host Destination Port

No rules for TCP traffic found

{{ $port.Port }}
Daily:
{{ $p.Bandwidth.Daily.String }}

Monthly:
{{ $p.Bandwidth.Monthly.String }}
{{ if $p.Available }} {{ else }} {{ end }} {{ $port.Destination }} {{ $port.DstPort }}
{{ template "admin-tun-release-port-dialog" . }} {{ template "admin-tun-custom-port-dialog" . }} {{ end }} {{ define "admin-tun-custom-port-dialog" }} {{ end }} {{ define "admin-tun-release-port-dialog" }} {{ end }} {{ define "tunnel-manage-portmap" }}
Create Port Mapping
{{ if .Configuration }} {{ if eq (len .Configuration.PortMappings) 0 }} {{ end }} {{ with $tunPage := . }} {{ range $pm := $tunPage.Configuration.PortMappings }} {{ end }} {{ end }} {{ end }}
Label Listening Port Destination HTTP Caching Options Actions

No rules for Port Mappings found

{{ if len $pm.Label }}{{ $pm.Label }}{{ else }}Unspecified{{ end }}
{{ $pm.ListenPort }} {{ $pm.Transport }}:{{ $pm.Destination }}:{{ $pm.DstPort }} {{ if $pm.HTTP }} {{ else }} {{ end }}
{{ template "admin-tun-remove-portmap-dialog" . }} {{ end }} {{ define "admin-tun-remove-portmap-dialog" }} {{ end }}