AIOCOAP-PROXY(1)
β¨ AIOCOAP-PROXY(1) β¨
okay bestie, buckle up π this is the manual page for aiocoap-proxy, part of the aiocoap fam.
πΈ NAME πΈ
aiocoap-proxy β forward and reverse proxy server for CoAP
a plain CoAP proxy that can work both as forward and as reverse proxy π«Ά
usage: aiocoap-proxy [-h] [--version] [--forward] [--reverse] [--bind BIND]
[--credentials CREDENTIALS]
[--tls-server-certificate CRT] [--tls-server-key KEY]
[--register [RD-URI]] [--register-as EP[.D]]
[--register-proxy] [--namebased NAME:DEST]
[--subdomainbased NAME:DEST] [--pathbased PATH:DEST]
[--unconditional DEST]
π NAMED ARGUMENTS π
--versionβ show program's version number and exit. that's it, that's the whole job π
π MODE π
Required argument for setting the operation mode β like, you have to pick one, it's not optional, no she's not coming to the party without an outfit, periodt.
--forwardβ Run as forward proxy
Default: False
--reverseβ Run as reverse proxy
Default: False
π¦ DETAILS π¦
Options that govern how requests go in and out β¨
--bindβ Host and/or port to bind to (see--help-bindfor details)--credentialsβ JSON file pointing to credentials for the server's identity/ies.--tls-server-certificateβ TLS certificate (chain) to present to connecting clients (in PEM format)--tls-server-keyβ TLS key to load that supports the server certificate--registerβ Register with a Resource directory
Default: False
--register-asβ Endpoint name (with possibly a domain after a dot) to register as--register-proxyβ Ask the RD to serve as a reverse proxy. Note that this is only practical for--unconditionalor--pathbasedreverse proxies.
Default: False
π RULES π
Sequence of forwarding rules that, if matched by a request, specify a forwarding destination. Destinations can be prefixed to change their behavior: With an '@' sign, they are treated as forward proxies. With a '!' sign, the destination is set as Uri-Host. iykyk π₯
ngl, the prefix thing is the part people trip on β those little'@'and'!'characters lowkey change everything about where your request goes.
--namebasedβ If Uri-Host matches NAME, route to DEST--subdomainbasedβ If Uri-Host is anything.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
π Copyright π
Christian AmsΓΌss and the aiocoap contributors
and that's the whole thing bestie, you ate π version 0.4, dated Apr 04, 2026 β go proxy something iconic ππ
π¦ where this page comes from
- ubuntu stonking: python3-aiocoap 0.4.17-2 Β· MIT/X11
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms