I want to have Stunnel wrap three ports that a server deamon utilizes, however, I have no clue how to go about doing so. I created the /etc/stunnel/stunnel.conf using the basic one I found on their website as Fedora didn't install one.
Basically, all of the Googled websites don't offer working advice. They've said to use "stunnel -d port -l program_path" but that hasn't worked. "/usr/sbin/stunnel -d 8002 -l daemon_exec" kicks back the invalid syntax crap. After reviewing the MANPAGE, I have found nothing to be of use.
Can anyone show me an appropriate stunnel.conf and also maybe tell me what kind of syntax to use? I don't care if I'm telling Stunnel to wrap the entire daemon's ports, or just one or two in particular.