Questions tagged [stunnel]

Stunnel is a small tool that can wrap the connection of other protocols with SSL/TLS.

Stunnel is a free software based on OpenSSL providing a SSL/TLS encryption wrapper between remote clients and a local or remote server. It can be used to add SSL functionality to commonly used inetd daemons like POP2, POP3, and IMAP servers without any changes in the programs' code. Stunnel uses the OpenSSL library for cryptography, so it supports whatever cryptographic algorithms are compiled into the library.

For more information, see the homepage of the project at stunnel.org.

152 questions
0
votes
0 answers

SSH tunnel for serving web sites from localhost

This is more question... When I do like this... I am able to serve my site to external IP of my VPS... ssh -L 8080:localhost:80 username@server.com How secure and is it okay to serve websites trought ssh tunnel from my VPS? Should I do this in…
0
votes
2 answers

How do I get a "valid SSL public certificate" from Windows Certificate ? (for stunnel configuration)

In these directions for configuring Stunnel on Windows the following text appears : Copy a valid SSL public certificate to the directory "C:\Program Files (x86)\stunnel." To make things more trouble-free, combine the public key and private key…
glaucon
  • 243
  • 1
  • 6
  • 16
0
votes
1 answer

Install trusted Certificate on stunnel

I would like to be able to use a trusted certificate on Stunnel proxy, The default one does not seem to allow me to do this. Is there a way to do this please? Would need to be free.
radar
  • 1
  • 2
0
votes
1 answer

Configure SSL for openvpn on synology diskstation

I currently have a Synology DS218J and I have openvpn installed on it. I'm wondering how to configure SSL tunneling between the VPN server and the client. I did hear something about stunnel but I'm not 100% sure if it is even supported by my…
Jason Liu
  • 3
  • 2
0
votes
2 answers

Stunnel - SMTP Authentication failed

Hi ServerFault community, I have posted this to the stunnel-users mailing list on 30 April 2018 and again on 16 May 2018 at https://www.stunnel.org/pipermail/stunnel-users/2018-April/006000.html, unfortunately no one there seems to know the answer,…
I Coetzee
  • 3
  • 2
0
votes
1 answer

Why does the AWS SES developer guide recommend using stunnel with Postfix?

I swear they changed this in the last year or two, but as of 2017-11-20, the SES developer guide for Postfix recommends setting up TLS via stunnel. This seems odd to me, considering that Postfix can already do TLS if you just add these lines to…
Mike Conigliaro
  • 3,105
  • 2
  • 24
  • 24
0
votes
1 answer

Email From Linux Using Stunnel

I'm trying to send an email from a linux instance using stunnel and AWS SES as outlined here. I've been through the above documention and and I seem to be getting a connection to my server that has stunnel installed but I'm not receiving any…
never_odd_or_even
  • 325
  • 1
  • 4
  • 12
0
votes
1 answer

Can't connect over https with stunnel - troubleshooting

I have stunnel forwarding from HTTP on port 8040 to HTTPS on port 8091. My stunnel.conf file: [henhouse] accept = 8091 connect = 127.0.0.1:8041 cert = /etc/stunnel/stunnel.pem How I generated said stunnel.pem certificate: openssl req -new -x509…
hubatish
  • 109
  • 4
0
votes
1 answer

Restart stunnel4 quietly with no output

How can I restart stunnel4 and suppress output unless there is an error? I tried using the -quiet flag, but according to the manpage that is NT/2000/XP only $ /etc/init.d/stunnel4 restart -quiet /etc/stunnel/-quiet.conf does not exist. I've also…
andrewtweber
  • 449
  • 1
  • 10
  • 18
0
votes
0 answers

Round robin & load balance to local port range using iptables on RedHat Linux

I wanted to implement load balancer (round robin) using 4 instances of ssh reverse tunnels running localhost:11669, localhost:11670, localhost:11671 & localhost:11672 connecting to remote host cmssyn.sys.com on 1669. /usr/bin/ssh -L -N -a -q -4 -x…
Raj
  • 1
  • 1
0
votes
1 answer

CentOS with SELinux, systemd and stunnel

I am using CentOS 7.3 with stunnel. If I launch stunnel like that : stunnel /etc/stunnel/stunnel.conf Everything works fine ! I would like to manage stunnel with systemd. Here is my stunnel.service : [Unit] Description=SSL tunnel for network…
Djé Djé
  • 13
  • 2
  • 7
0
votes
0 answers

Stunnel broke packets

I'm trying to set up a secure connection between a computer and another. I'm my case, SSH doesn't seem a good solution, and VPN is worst in our case too. To begin, I've test my configuration in internal, it works fine. So I've move the same…
Servuc
  • 131
  • 5
0
votes
3 answers

Did I install stunnel correctly?

Running Ubuntu 14.04 64-bit. apt-get install build-essential -y apt-get install libssl-dev -y apt-get install wget -y cd srv wget https://www.stunnel.org/downloads/stunnel-5.23.tar.gz tar -xzf stunnel-5.23.tar.gz rm stunnel-5.23.tar.gz cd…
Karl Morrison
  • 1,521
  • 4
  • 25
  • 42
0
votes
0 answers

CentOS Postfix/Dovecot status deferred conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting

Linux Kernel: Linux 2.6.32-504.16.2.el6.i686 on i686 RAM: 6GB OS: CentOS 6.6 Postfix 2.6.6 Dovecot 2.0.9 Relay Host Verizon Stunnel through 127.0.0.1:2525 Webmin 1.750 Virtualmin 4.17.gpl Multiple Domains IMAP only no POP3 So here is the issue: I…
Rene R
  • 11
  • 1
0
votes
2 answers

Binding stunnel on both IPv6 and IPv4

I would like to make a local unencrypted service that listens on 127.0.0.1:8000 available via SSL on both IPv4 and IPv6 on port 8001. Unfortunately, stunnel configuration [Server] accept = 8001 connect = 8000 binds only on IPv4, as I have checked…
mcandril
  • 285
  • 3
  • 13