Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.13 KB

ktunnel_client.md

File metadata and controls

44 lines (29 loc) · 1.13 KB

ktunnel client

Run the ktunnel client(from source listener - usually localhost)

Synopsis

This command would open the tunnel to the server and forward tunnel ingress traffic to the the same port on localhost

ktunnel client [flags] [ports]

Examples


# Open a tunnel to a remote tunnel server
ktunnel client --host ktunnel-server.yourcompany.com -s tcp 8000 8001:8432
	

Options

  -c, --ca-file string                TLS cert auth file
  -h, --help                          help for client
  -H, --host string                   server host address (default "localhost")
  -s, --scheme string                 Connection scheme (default "tcp")
  -o, --server-host-override string   Server name use to verify the hostname returned by the TLS handshake

Options inherited from parent commands

  -p, --port int   The port to use to establish the tunnel (default 28688)
  -t, --tls        Connection uses tls if true, else plain TCP
  -v, --verbose    verbose mode

SEE ALSO

  • ktunnel - Ktunnel is a network tunneling tool for kubernetes
Auto generated by spf13/cobra on 29-Apr-2023