clawker firewall add
Add an egress ruleSynopsis
Add a domain to the firewall allow list. The rule takes effect immediately via hot-reload — no container restart required. Pass —path together with —action to add a path-scoped rule onto the domain entry instead of (or alongside) the bare-domain allow. Path rules accumulate across calls; a repeated —path with a different —action overwrites the prior action for that path. Pass —methods to narrow a path rule to a set of HTTP request methods (e.g. GET,HEAD). The path rule’s —action then applies only to those methods; other methods fall through to later rules / the path default. Empty = all methods. HTTP-family protos only (https/http/ws/wss). A —path is a literal prefix by default, so —path /repos/x also matches /repos/x-evil. Prefix the path with ~ to match it as a regex instead, which is anchored end-to-end for exact matching (e.g. ~/repos/(a|b)/? matches only those two repos, with or without a trailing slash). Quote regex paths — the shell expands ~/ and treats ( | ? as special.Examples
Options
Options inherited from parent commands
See also
- clawker firewall - Manage the egress firewall