julznc / dtlsproxy

tinydtls-based reverse proxy server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

tinydtls-based reverse proxy server

License:MIT License


Languages

Language:C 94.4%Language:Objective-C 4.7%Language:C++ 0.6%Language:Makefile 0.2%