Difference between revisions of "Tailscale SSH"

From wikieduonline
Jump to navigation Jump to search
(Created page with " {{Tailscale}}")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
* https://tailscale.com/kb/1193/tailscale-ssh
  
  
 +
[[tailscale up --ssh]]
  
{{Tailscale}}
+
== Official example ==
 +
<pre>
 +
{
 +
"acls": [
 +
{
 +
"action": "accept",
 +
"src": ["*"],
 +
"dst": ["*:*"]
 +
}
 +
],
 +
"ssh": [
 +
{
 +
"action": "accept",
 +
"src": ["autogroup:member"],
 +
"dst": ["autogroup:self"],
 +
"users": ["root", "autogroup:nonroot"]
 +
},
 +
{
 +
"action": "accept",
 +
"src": ["autogroup:member"],
 +
"dst": ["tag:prod"],
 +
"users": ["root", "autogroup:nonroot"]
 +
},
 +
{
 +
"action": "accept",
 +
"src": ["tag:logging"],
 +
"dst": ["tag:prod"],
 +
"users": ["root", "autogroup:nonroot"]
 +
}
 +
]
 +
}
 +
</pre>
 +
 
 +
 
 +
== See also ==
 +
* {{Tailscale}}
 +
 
 +
[[Category:Tailscale]]

Latest revision as of 08:25, 27 June 2024


tailscale up --ssh

Official example[edit]

{
	"acls": [
		{
			"action": "accept",
			"src": ["*"],
			"dst": ["*:*"]
		}
	],
	"ssh": [
		{
			"action": "accept",
			"src": ["autogroup:member"],
			"dst": ["autogroup:self"],
			"users": ["root", "autogroup:nonroot"]
		},
		{
			"action": "accept",
			"src": ["autogroup:member"],
			"dst": ["tag:prod"],
			"users": ["root", "autogroup:nonroot"]
		},
		{
			"action": "accept",
			"src": ["tag:logging"],
			"dst": ["tag:prod"],
			"users": ["root", "autogroup:nonroot"]
		}
	]
}


See also[edit]

Advertising: