There are could be several of stunnel processes: ~]# ps aux | grep stunnel | grep -v grep | awk '') then echo "Done" else echo "No ps left" fi In particular, any packet of any protocol can always be wrapped in an additional SSL layer, with packets embedded within packets, so this means you can wrap arbitrary traffic protocols in SSL using Stunnel. Creating SSL connections is a general task that is very useful. The concept is that having non-TLS aware daemons running on your system you can easily set them up to communicate with clients over secure TLS channels. Stunnel is a tool for creating SSL tunnels between a client and a server. Sudo netstat -tulnp | grep -i stunnel Stop stunnel: The stunnel program is designed to work as TLS encryption wrapper between remote clients and local ( inetd -startable) or remote servers. Stunnel (SSH Over SSL/TLS), OpenVPN, Squid Proxy, Shadowsocks. Issue the following commands in turn to generate a private key and a certificate for the Stunnel server: cd /etc/stunnel openssl genrsa -out key. ssh email If you are able to SSH into gitssh 77 Free PPTP L2TP VPN, Easy to set up. Generate Stunnel Server Private Key and Certificate.
Sudo stunnel /etc/stunnel/nf Check that stunnel work: Install Stunnel version 4 from the repositories: apt install stunnel4 -y 1.7. Sudo yum install stunnel -y Configure stunnel:Ĭreate custom stunnel cfg in order to establish connection to some AWS Redis (just for example): sudo touch /etc/stunnel/nf & echo "fips = noĬonnect = .:6379" > /etc/stunnel/nf