Debian + stunnel
Hello,
I hadn't this problem when I used slackware linux, but on debian linux I have, take a look at the error:
ist:/etc/stunnel# stunnel stunnel.conf
inetd mode must define a remote host or an executable
ist:/etc/stunnel#
stunnel.conf:
cert = /etc/stunnel/stunnel.pem
sslVersion = SSLv3
chroot = /var/lib/stunnel4/
setuid = stunnel4
setgid = stunnel4
pid = /stunnel4.pid
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
;compression = rle
; Workaround for Eudora bug
;options = DONT_INSERT_EMPTY_FRAGMENTS
; Authentication stuff
;verify = 2
; Don't forget to c_rehash CApath
; CApath is located inside chroot jail
;CApath = /certs
; It's often easier to use CAfile
;CAfile = /etc/stunnel/certs.pem
; Don't forget to c_rehash CRLpath
; CRLpath is located inside chroot jail
;CRLpath = /crls
; Alternatively you can use CRLfile
;CRLfile = /etc/stunnel/crls.pem
; Some debugging stuff useful for troubleshooting
debug = 7
output = /var/log/stunnel4/stunnel.log
[router]
accept = 8080
connect = 10.0.1.1:80
Last edited by bambeklis; 05-14-2008 at 04:50 PM.
|