table of contents
AIOCOAP-PROXY(1) | User Commands | AIOCOAP-PROXY(1) |
NAME¶
aiocoap-proxy - A plain CoAP proxy that can work both as forward and as reverse proxyDESCRIPTION¶
usage: aiocoap-proxy [-h] [--forward] [--reverse] [--server-address HOST]- [--server-port PORT] [--proxy HOST[:PORT]]
- [--namebased NAME:DEST] [--pathbased PATH:DEST] [--unconditional DEST]
a plain CoAP proxy that can work both as forward and as reverse proxy
optional arguments:¶
- -h, --help
- show this help message and exit
mode:¶
- Required argument for setting the operation mode
- --forward
- Run as forward proxy
- --reverse
- Run as reverse proxy
details:¶
- Options that govern how requests go in and out
- --server-address HOST
- Address to bind the server context to
- --server-port PORT
- Port to bind the server context to
- --proxy HOST[:PORT]
- Relay outgoing requests through yet another proxy
Rules:¶
- Sequence of forwarding rules that, if matched by a request, specify a forwarding destination
- --namebased NAME:DEST
- If Uri-Host matches NAME, route to DEST
- --pathbased PATH:DEST
- If a requested path starts with PATH, split that part off and route to DEST
- --unconditional DEST
- Route all requests not previously matched to DEST
SEE ALSO¶
The full documentation for aiocoap-proxy is maintained as a Texinfo manual. If the info and aiocoap-proxy programs are properly installed at your site, the command- info aiocoap-proxy
should give you access to the complete manual.
January 2019 | aiocoap-proxy 0.3 |