Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 928 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 928 Bytes

dtlsproxy

Lightweight DTLS reverse proxy server based on tinydtls and libev.

Similar with goldy, but using tinydtls instead of mbed TLS, using pre-shared key (PSK) instead of certificate/private key files.

usage: dtlsproxy -l <host:port> -b <hosts:ports> -k <key maps>
        -l listen    listen on specified host and port
        -b backends  backend servers (host1:port1,host2:port2,...)
        -k keys      psk identities (id1:key1,id2:key2,...)

sample usage:

    $ dtlsproxy -l 0.0.0.0:5684 -b 127.0.0.1:15683 -k Client_identity:secretPSK

Tested on Cygwin and Ubuntu hosts with a libcoap server (on port 15683) as the backend.