File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ bin /*
Original file line number Diff line number Diff line change @@ -10,3 +10,26 @@ How it works
1010
1111How to install
1212===============
13+ - Download a release file from [ here] ( https://github.com/alash3al/tlx/releases )
14+ - Extract the file from the archive
15+ - open your Command Line Interface in the working directory of the extraction process
16+ - run ` ./tlx --help ` to test it
17+
18+ Usage
19+ =========
20+
21+ #### Creating Cert & Key
22+ ``` bash
23+ # the key
24+ openssl ecparam -genkey -name secp384r1 -out server.key
25+
26+ # the cert
27+ openssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650
28+ ```
29+
30+ #### Run
31+ ``` bash
32+ # listen on ":9000" and forward the requests to "localhost:8000"
33+ # then set the tls cert and key
34+ ./tlx -backend " localhost:8000" -listen " :9000" -cert " ./server.crt" -key " ./server.key"
35+ ```
You can’t perform that action at this time.
0 commit comments