mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-31 08:16:23 +00:00
wip vip
Change-Id: Ibbd8f5f08d4614d9e92c245b8da25f3f6f19319e
This commit is contained in:
@@ -161,6 +161,7 @@ type serveEnv struct {
|
||||
tlsTerminatedTCP uint // a TLS terminated TCP port
|
||||
subcmd serveMode // subcommand
|
||||
yes bool // update without prompt
|
||||
service string // listen on a virtual service IP
|
||||
|
||||
lc localServeClient // localClient interface, specific to serve
|
||||
|
||||
|
||||
@@ -127,6 +127,7 @@ func newServeV2Command(e *serveEnv, subcmd serveMode) *ffcli.Command {
|
||||
fs.UintVar(&e.tcp, "tcp", 0, "Expose a TCP forwarder to forward raw TCP packets at the specified port")
|
||||
fs.UintVar(&e.tlsTerminatedTCP, "tls-terminated-tcp", 0, "Expose a TCP forwarder to forward TLS-terminated TCP packets at the specified port")
|
||||
fs.BoolVar(&e.yes, "yes", false, "Update without interactive prompts (default false)")
|
||||
fs.StringVar(&e.service, "service", "", "listen for connections on a virtual service IP (example: service:myservice)")
|
||||
}),
|
||||
UsageFunc: usageFuncNoDefaultValues,
|
||||
Subcommands: []*ffcli.Command{
|
||||
|
||||
Reference in New Issue
Block a user