Difference between revisions of "Tailscale SSH"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
[[tailscale up --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: