mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
feat: article and configuration file example about stunnel
This commit is contained in:
6
examples/stunnel.config
Normal file
6
examples/stunnel.config
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[redis-cli]
|
||||||
|
client = yes
|
||||||
|
accept = 127.0.0.1:6380
|
||||||
|
connect = redis.lan:6380
|
||||||
|
|
||||||
|
; CAfile = /home/user/trusted.certs.pem
|
||||||
46
knowledge base/stunnel.md
Normal file
46
knowledge base/stunnel.md
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
# Stunnel
|
||||||
|
|
||||||
|
Proxy designed to add TLS encryption functionality to existing clients and servers without any changes in the programs' code.
|
||||||
|
|
||||||
|
## Table of contents <!-- omit in toc -->
|
||||||
|
|
||||||
|
1. [TL;DR](#tldr)
|
||||||
|
1. [Further readings](#further-readings)
|
||||||
|
1. [Sources](#sources)
|
||||||
|
|
||||||
|
## TL;DR
|
||||||
|
|
||||||
|
In Unix-like operating systems:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# Install it.
|
||||||
|
brew install 'stunnel'
|
||||||
|
|
||||||
|
# Show default socket options.
|
||||||
|
stunnel -sockets
|
||||||
|
|
||||||
|
# Show supported TLS options.
|
||||||
|
stunnel -options
|
||||||
|
|
||||||
|
# Start the process.
|
||||||
|
stunnel 'path/to/config/file'
|
||||||
|
```
|
||||||
|
|
||||||
|
## Further readings
|
||||||
|
|
||||||
|
- [Website]
|
||||||
|
- [Sample configuration for Unix systems]
|
||||||
|
|
||||||
|
## Sources
|
||||||
|
|
||||||
|
All the references in the [further readings] section, plus the following:
|
||||||
|
|
||||||
|
<!-- project's references -->
|
||||||
|
[sample configuration for unix systems]: https://www.stunnel.org/config_unix.html
|
||||||
|
[website]: https://www.stunnel.org/
|
||||||
|
|
||||||
|
<!-- in-article references -->
|
||||||
|
[further readings]: #further-readings
|
||||||
|
|
||||||
|
<!-- internal references -->
|
||||||
|
<!-- external references -->
|
||||||
Reference in New Issue
Block a user