tlsgate

TLS reverse proxy
git clone git://git.akobets.xyz/tlsgate
Log | Files | Refs | README | LICENSE

commit d43b110768ef5c488ac11a137dcea40710240a88
parent b9223c6f991129e28724fe4d2749456144a921fd
Author: Artem Kobets <artem@akobets.xyz>
Date:   Sat,  1 Aug 2020 17:55:54 +0300

README

Diffstat:
MREADME | 16+++++++++++++++-
Mtlsgate.1 | 2+-
2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/README b/README @@ -1,6 +1,6 @@ tlsgate ------- -Simple TLS proxy for unencrypted connections. +TLS proxy for unencrypted connections. Can be used to set up an HTTPS connection for an HTTP server. Dependencies @@ -10,3 +10,17 @@ Dependencies Install ------- make install + +Example +------- +# accept connections on port 443 +# and pass them to a local http server on port 80 +tlsgate \ + -c /etc/path-to-cert/cert.pem \ + -k /etc/path-to-key/key.pem \ + -h 0.0.0.0 \ + -p 443 \ + -H 0.0.0.0 \ + -P 80 + +See man page for details. diff --git a/tlsgate.1 b/tlsgate.1 @@ -7,7 +7,7 @@ tlsgate \- TLS proxy [-n proc-num] .SH DESCRIPTION .B tlsgate -is a simple TLS proxy which can be used to expose an unencrypted connection. +is a TLS proxy which can be used to expose an unencrypted connection. For example, to set up an HTTPS connection for an HTTP server. .SH OPTIONS .TP