Skip to content

cmd/tailscale/cli: funnel help issues #9923

Description

@bradfitz

at e995641,

$ tailscale funnel
USAGE
  funnel <target>
  funnel status [--json]
  funnel reset

Funnel enables you to share a local server on the internet using Tailscale.

To share only within your tailnet, use `tailscale serve`

<target> can be a file, directory, text, or most commonly the location to a service running on the
local machine. The location to the location service can be expressed as a port number (e.g., 3000),
a partial URL (e.g., localhost:3000), or a full URL including a path (e.g., http://localhost:3000/foo).

EXAMPLES
  - Expose an HTTP server running at 127.0.0.1:3000 in the foreground:
    $ tailscale funnel 3000

  - Expose an HTTP server running at 127.0.0.1:3000 in the background:
    $ tailscale funnel --bg 3000

  - Expose an HTTPS server with a valid certificate at https://localhost:8443
    $ tailscale %!s(MISSING) https://localhost:8443

^^^^ %!s(MISSING) here

  - Expose an HTTPS server with invalid or self-signed certificates at https://localhost:8443
    $ tailscale %!s(MISSING) https+insecure://localhost:8443

... and here ^^^

For more examples and use cases visit our docs site https://tailscale.com/kb/1247/funnel-serve-use-cases

SUBCOMMANDS
  status  view current proxy configuration
  reset   reset current serve/funnel config

FLAGS
  --bg, --bg=false
        Run the command as a background process (default false)
  --http string
        Expose an HTTP server at the specified port

Why's this of type string if it's just a port?

  --https string
        Expose an HTTPS server at the specified port (default

^^^ missing closing paren

  --set-path string
        Appends the specified path to the base URL for accessing the underlying service
  --tcp string
        Expose a TCP forwarder to forward raw TCP packets at the specified port
  --tls-terminated-tcp string
        Expose a TCP forwarder to forward TLS-terminated TCP packets at the specified port

Similarily, why strings if these only take ports?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions