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

HTTP/S Traffic

{{ if .UpdateTraffic }}

Update or reset the HTTP traffic, security and routing rules.

{{ else }}

Create a new HTTP traffic rule. Setup upstream server values, encryption options and any additional security mechanisms.

{{ end }}
{{ else }}action="/admin/tunnel/manage/http/add">{{ end }}
{{ if len (.Error "domain") }}
{{ .Error "domain" }}
{{ end }}

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

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

TLS

Setup encryption options for HTTPS traffic. The Packetriot client will handshake with network client and terminate TLS before proxying upstream.

{{ if .UpdateTraffic }}

Note, if you used custom certificates earlier and want to continue using them you must upload them again with the inputs below. The client will not carry past ones forward.

{{ end }}

Authentication

Internet users will be required to input a passphrase into a captive portal login and authenticate, restricting traffic to tunnel otherwise.

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

Basic-Digest

Restrict requests to tunnels using HTTP Basic-Digest that authenticates each request.

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

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


{{ template "menu-toggle" . }}
{{ template "loading-dialog" . }} {{ end }} {{ define "admin-tunnel-edit-tcp-rule" }} {{ template "nav-sidebar" . }}
{{ template "navbar-user" . }}

Port Traffic

Reset an existing traffic rule or update the destination for traffic.

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

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


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