aiocoap-proxy1
Forward and reverse proxy server for coap a plain coap proxy that can work both as forward and as reverse proxy
Named arguments
--version-
show program's version number and exit
Mode
Required argument for setting the operation mode
--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-bind for 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 --unconditional or --pathbased reverse 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.
|
If Uri-Host matches NAME, route to DEST |
|---|---|
|
If Uri-Host is anything.NAME, route to DEST |
|
If a requested path starts with PATH, split that part off and route to DEST |
|
Route all requests not previously matched to DEST |
Releases
3 releases since Debian 10 (Buster); the text changed 2 times.
--forward until Debian 11 (Bullseye);
--help until Debian 11 (Bullseye);
--namebased until Debian 11 (Bullseye);
--pathbased until Debian 11 (Bullseye);
--proxy until Debian 11 (Bullseye);
--reverse until Debian 11 (Bullseye);
--server-address until Debian 11 (Bullseye);
--server-port until Debian 11 (Bullseye);
--unconditional until Debian 11 (Bullseye);
-h until Debian 11 (Bullseye).