{{ define "admin-server-settings-content" }} {{ template "nav-sidebar" . }}
{{ template "navbar-user" . }}

Server Configuration

Manage and update the server configuration and options. Some changes require restarting the server such as TLS and server domain updates. This will cause disruptions for clients and network traffic.

{{ template "server-configuration" . }} {{ template "tun-options-configuration" . }} {{ template "socks-configuration" . }}
{{ template "menu-toggle" . }}
{{ template "loading-dialog" . }} {{ end }} {{ define "server-configuration" }} {{ if .HasError "misc" }}
{{ .Error "misc" }}
{{ end }}

Changes will be applied once access to ports 80, 443 are verified with the domain name. TLS options selected will also be checked with DNS to ensure Let's Encrypt will operate successfully. Custom certificates are verified with the domain name.

{{ if .HasError "domain" }}
{{ .Error "domain" }}
{{ end }}
{{ if .HasError "letsEncrypt" }}
{{ .Error "letsEncrypt" }}
{{ end }}
{{ if .HasError "selfsigned" }}
{{ .Error "selfsigned" }}
{{ end }}
{{ if .HasError "certificate" }}
{{ .Error "certificate" }}
{{ end }}

Upload custom certificates:


Reset
{{ end }} {{ define "tun-options-configuration" }}

Customize server-side options for tunnels such as the max number of connections for tunneling data and the max number of ports that can be allocated to a tunnel. You can also enable automatic hostname assignment to tunnels. A wildcard subdomain will need to be set up for this option to function. Enabling monitoring for upstream tunnel services will allow you to view service status in the Status page for a tunnel.

{{ if .HasError "assignHostname" }}
{{ .Error "assignHostname" }}
{{ end }}
{{ if .HasError "assignHostname" }}
{{ end }}
{{ if .HasError "enableMonitor" }}
{{ .Error "enableMonitor" }}
{{ end }}
{{ if .HasError "monitorInterval" }}
{{ .Error "monitorInterval" }}
{{ end }}


Reset
{{ end }} {{ define "socks-configuration" }}

A SOCKSv5 server is built into Spokes and provides another means to access to TCP and HTTP services running on tunnels connected to the Spokes server. It can be used as a mechanism to provide network access but limit the ports that are accessible on the host.

The SOCKS server in Spokes can also be used to provide transport level encryption for dowstream applications hosted behind tunnels that don't natively support encryption (legacy systems). Connecting to a SOCKS server over TLS is not part of the standard protocol but clients do exist that provide this functionality.

{{ if .HasError "socksPort" }}
{{ .Error "socksPort" }}
{{ end }}
{{ if .HasError "tlsSocksPort" }}
{{ .Error "tlsSocksPort" }}
{{ end }}
{{ if .HasError "socksDestinations" }}
{{ .Error "socksDestinations" }}
{{ end }}

The values below can be hostnames or IP addresses in CIDR format. These values must be comma separated.


Reset
{{ end }} {{ define "updating-settings-content" }}

Updating configuration...

{{ end }}