An open API service indexing awesome lists of open source software.

https://github.com/alash3al/tlx

a dummy tls reverse proxy written in go
https://github.com/alash3al/tlx

go golang reverse-proxy tls tls-proxy tls-tunnel

Last synced: about 1 year ago
JSON representation

a dummy tls reverse proxy written in go

Awesome Lists containing this project

README

          

TLX
==========
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.

How it works
============
- listens on a custom port
- offloads the incoming tls connections
- forwards the offloaded tls connections to the backend server

How to install
===============
- Download a release file from [here](https://github.com/alash3al/tlx/releases)
- 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

Usage
=========

#### Creating Cert & Key
```bash
# 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
```

#### Run
```bash
# 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"
```