aiocoap-proxy

a plain CoAP proxy that can work both as forward and as reverse proxy

usage: aiocoap-proxy [-h] [--forward] [--reverse] [--server-address HOST]
                     [--server-port PORT] [--proxy HOST[:PORT]]
                     [--namebased NAME:DEST] [--pathbased PATH:DEST]
                     [--unconditional DEST]
mode
--forward Run as forward proxy
--reverse Run as reverse proxy
details
--server-address="::"
 Address to bind the server context to
--server-port=5683
 Port to bind the server context to
--proxy Relay outgoing requests through yet another proxy
Rules
--namebased If Uri-Host matches NAME, route to DEST
--pathbased If a requested path starts with PATH, split that part off and route to DEST
--unconditional
 Route all requests not previously matched to DEST