tailcfg: add field to allow LocalPortForwarding in SSHAction

Updates #3802, #4129

Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
Maisem Ali
2022-03-14 13:23:17 -07:00
committed by Maisem Ali
parent 98b45ef12c
commit 45a7f6689c
2 changed files with 16 additions and 9 deletions

View File

@ -1628,6 +1628,10 @@ type SSHAction struct {
// response, it should be re-fetched as long as the SSH
// session is open.
HoldAndDelegate string `json:"holdAndDelegate,omitempty"`
// AllowLocalPortForwarding, if true, allows accepted connections
// to use local port forwarding if requested.
AllowLocalPortForwarding bool `json:"allowLocalPortForwarding,omitempty"`
}
// OverTLSPublicKeyResponse is the JSON response to /key?v=<n>