A simple TLS proxy terminator written in Go. It uses the power of concurrency of the Go language to speed up the request itself, It creates an isloated light thread for reading and another of writing.
- listens on a custom port
- offloads the incoming tls connections
- forwards the offloaded tls connections to the backend server
- Download a release file from here
- Extract the file from the archive
- open your Command Line Interface in the working directory of the extraction process
- run
./tlx --help
to test it
# the key
openssl ecparam -genkey -name secp384r1 -out server.key
# the cert
openssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650
# listen on ":9000" and forward the requests to "localhost:8000"
# then set the tls cert and key
./tlx -backend "localhost:8000" -listen ":9000" -cert "./server.crt" -key "./server.key"