Skip to content

Commit

Permalink
Updated usage to better explain the service and port whitelisting opt…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
struanb authored Nov 13, 2023
1 parent 0281837 commit 54bde9c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docker-ingress-routing-daemon
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,16 @@ usage() {
echo >&2
echo "Usage: $0 [--install [OPTIONS] | --uninstall | --help]" >&2
echo >&2
echo " --services <services> - service names to disable masquerading for" >&2
echo " --tcp-ports <ports> - TCP ports to disable masquerading for" >&2
echo " --udp-ports <ports> - UDP ports to disable masquerading for" >&2
echo " --ingress-gateway-ips <ips> - load-balancer ingress IPs" >&2
echo " --services <services> - service names to whitelist (i.e. disable masquerading for)" >&2
echo " --tcp-ports <ports> - TCP ports to whitelist (i.e. disable masquerading for)" >&2
echo " --udp-ports <ports> - UDP ports to whitelist (i.e. disable masquerading for)" >&2
echo " --ingress-gateway-ips <ips> - specify load-balancer ingress IPs" >&2
echo " --preexisting - optionally install rules where needed" >&2
echo " on preexisting containers (recommended)" >&2
echo >&2
echo " --no-performance - disable performance optimisations" >&2
echo " --indexed-ids - use sequential ids for load balancers" >&2
echo " (forced where ingress subnet larger than /24)" >&2
echo " --preexisting - optionally install rules where needed" >&2
echo " on preexisting containers" >&2
echo >&2
echo "Notes:" >&2
echo "- <services>, <ports> and <ips> may be comma-separated, space-separated," >&2
Expand Down

0 comments on commit 54bde9c

Please sign in to comment.