{{ define "admin-tunnel-edit-portmap-rule" }} {{ template "nav-sidebar" . }}
{{ template "navbar-user" . }}

Port Mapping

{{ if .UpdateTraffic }}

Update an existing port mapping rule. This will maintain the listening port set for the port mapping.

{{ else }}

Create a new port mapping rule on the client side. This will set a local listening port that is mapped to a remote service.

{{ end }}
{{ if len (.Error "listenPort") }}
{{ .Error "listenPort" }}
{{ end }}
{{ if .UpdateTraffic }} {{ end }}

{{ if len (.Error "label") }}
{{ .Error "label" }}
{{ end }}

{{ if len (.Error "transport") }}
{{ .Error "transport" }}
{{ end }}
{{ if len (.Error "destination") }}
{{ .Error "destination" }}
{{ end }}

{{ if len (.Error "destPort") }}
{{ .Error "destPort" }}
{{ end }}


{{ template "menu-toggle" . }}
{{ template "loading-dialog" . }} {{ end }}