From charlesreid1

Revision as of 17:30, 27 March 2017 by Admin (talk | contribs) (Created page with "==Stunnel Client== Running an stunnel client requires installing stunnel and setting up a configuration file just like if you were setting up an Stunnel/Server. If we w...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Stunnel Client

Running an stunnel client requires installing stunnel and setting up a configuration file just like if you were setting up an Stunnel/Server.

If we want to establish a connection on port 443 (externally) to forward on to port 8443 (locally), we can use the following config file:

output  = /var/log/stunnel4/stunnel.log
cert    = /usr/local/etc/stunnel/stunnel.pem
key     = /usr/local/etc/stunnel/stunnel.pem
pid     = /var/run/stunnel4/stunnel.pid
client  = yes
[https]
accept  = 127.0.0.1:8443
connect = 10.11.12.13:443


Flags