package
0.10.9
Repository: https://github.com/c2fmzq/tlsproxy.git
Documentation: pkg.go.dev

# README

TLSCLIENT

The tlsproxy command establishes a TLS connection with a TLS server and redirects the stream to its stdin and stdout.

It is particularly useful as proxy command with openssh connecting to sshd behind tlsproxy.

Example:

Configure a backend in tlsproxy with:

backends:
- serverNames:
  - ssh.example.com
  mode: tcp
  addresses:
  - 192.168.1.10:22
  alpnProtos:
  - ssh

Then, in .ssh/config:

Host ssh.example.com
  ProxyCommand /path/to/tlsclient -alpn=ssh %h:443

Then run:

ssh [email protected]

# Variables

Version is set with -ldflags="-X main.Version=${VERSION}".