[stunnel-users] How to set DSCP in stunnel?

Michal Trojnara Michal.Trojnara at mirt.net
Sun Dec 30 19:49:21 CET 2012

I wrote:
> It is not currently implemented, but definitely a good idea.

After re-thinking this I guess you need a more generic interface to
setup TOS, including higher bits needed for DSCP.  The good news is that
it is already implemented in a more generic way:

For local/accepted socket:
    socket = l:IP_TOS=<value>
For remote/connected socket:
    socket = r:IP_TOS=<value>

This page may be useful to compute the <value> above:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20121230/bda2ab36/attachment.sig>

More information about the stunnel-users mailing list