|
@@ -26,6 +26,15 @@ const (
|
|
|
ControlURL Key = "LoginURL" // default ""; if blank, ipn uses ipn.DefaultControlURL.
|
|
ControlURL Key = "LoginURL" // default ""; if blank, ipn uses ipn.DefaultControlURL.
|
|
|
LogTarget Key = "LogTarget" // default ""; if blank logging uses logtail.DefaultHost.
|
|
LogTarget Key = "LogTarget" // default ""; if blank logging uses logtail.DefaultHost.
|
|
|
Tailnet Key = "Tailnet" // default ""; if blank, no tailnet name is sent to the server.
|
|
Tailnet Key = "Tailnet" // default ""; if blank, no tailnet name is sent to the server.
|
|
|
|
|
+
|
|
|
|
|
+ // AlwaysOn is a boolean key that controls whether Tailscale
|
|
|
|
|
+ // should always remain in a connected state, and the user should
|
|
|
|
|
+ // not be able to disconnect at their discretion.
|
|
|
|
|
+ //
|
|
|
|
|
+ // Warning: This policy setting is experimental and may change or be removed in the future.
|
|
|
|
|
+ // It may also not be fully supported by all Tailscale clients until it is out of experimental status.
|
|
|
|
|
+ AlwaysOn Key = "AlwaysOn"
|
|
|
|
|
+
|
|
|
// ExitNodeID is the exit node's node id. default ""; if blank, no exit node is forced.
|
|
// ExitNodeID is the exit node's node id. default ""; if blank, no exit node is forced.
|
|
|
// Exit node ID takes precedence over exit node IP.
|
|
// Exit node ID takes precedence over exit node IP.
|
|
|
// To find the node ID, go to /api.md#device.
|
|
// To find the node ID, go to /api.md#device.
|
|
@@ -139,6 +148,7 @@ const (
|
|
|
var implicitDefinitions = []*setting.Definition{
|
|
var implicitDefinitions = []*setting.Definition{
|
|
|
// Device policy settings (can only be configured on a per-device basis):
|
|
// Device policy settings (can only be configured on a per-device basis):
|
|
|
setting.NewDefinition(AllowedSuggestedExitNodes, setting.DeviceSetting, setting.StringListValue),
|
|
setting.NewDefinition(AllowedSuggestedExitNodes, setting.DeviceSetting, setting.StringListValue),
|
|
|
|
|
+ setting.NewDefinition(AlwaysOn, setting.DeviceSetting, setting.BooleanValue),
|
|
|
setting.NewDefinition(ApplyUpdates, setting.DeviceSetting, setting.PreferenceOptionValue),
|
|
setting.NewDefinition(ApplyUpdates, setting.DeviceSetting, setting.PreferenceOptionValue),
|
|
|
setting.NewDefinition(AuthKey, setting.DeviceSetting, setting.StringValue),
|
|
setting.NewDefinition(AuthKey, setting.DeviceSetting, setting.StringValue),
|
|
|
setting.NewDefinition(CheckUpdates, setting.DeviceSetting, setting.PreferenceOptionValue),
|
|
setting.NewDefinition(CheckUpdates, setting.DeviceSetting, setting.PreferenceOptionValue),
|