[stunnel-users] xforwardedfor in config

Jill Rochelle jrochelle at digitalchalk.com
Thu Jan 31 22:58:54 CET 2008


I am new to stunnel and the ssl world.  I'm trying to get stunnel to work
with haproxy for load balancing https requests.  In the haproxy
documentation it says that the stunnel.conf should look like this

 

    cert=/etc/stunnel/stunnel.pem
    setuid=stunnel
    setgid=proxy
 
    socket=l:TCP_NODELAY=1
    socket=r:TCP_NODELAY=1
 
    [https]
    accept=192.168.1.1:443
    connect=192.168.1.1:80
    xforwardedfor=yes

 

 

However, when I try to start the stunnel service I get this

 

Starting stunnel: file /etc/stunnel/stunnel.conf line 9: Specified option
name is not valid here

 

 

If I comment out the xforwardedfor parameter, it starts.

 

 

Any help is greatly appreciated.

 

Thank you,

Jill Rochelle

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20080131/f307167c/attachment.html>


More information about the stunnel-users mailing list