Sign inSign up

gegedesembri/stunnel

By gegedesembri

•Updated almost 4 years ago

Based on Stunnel

Image
0

685

gegedesembri/stunnel repository overview

⁠Stunnel (SSL Tunnel)

⁠Environment

CERT_NAME : CERT name from your SSL (example: ssl.crt). Put your ssl certificate in /etc/stunnel/ssl.

KEY_NAME : KEY name from your SSL (example: ssl.key). Put your ssl certificate in /etc/stunnel/ssl.

PUBLIC_PORT : Port to be used for public listening

LOCAL_PORT : Destination port of public listening

CUSTOM_CONFIG : If you want to use your own personal configuration, set it to "true"

CUSTOM_CONFIG_FILE : Path to your config file

⁠Docker Compose or Stack

Using the image default configuration

version: '3.7'

services:
  server:
    image: gegedesembri/stunnel:latest
    volumes:
      - /etc/stunnel:/etc/stunnel
    environment:
      CERT_NAME: "ssl.crt"
      KEY_NAME: "ssl.key"
      PUBLIC_PORT: "222"
      LOCAL_PORT: "22"
    network_mode: "host"

Using your own configuration

version: '3.7'

services:
  server:
    image: gegedesembri/stunnel:latest
    volumes:
      - /etc/stunnel:/etc/stunnel
    environment:
      CUSTOM_CONFIG: "true"
      CUSTOM_CONFIG_FILE: "/etc/stunnel/path/file/conf"
    network_mode: "host"

Notes : Replace /etc/stunnel/path/file/conf with your path

Tag summary

Content type

Image

Digest

sha256:d27cd1f56…

Size

4.1 MB

Last updated

almost 4 years ago

docker pull gegedesembri/stunnel