diff --git a/website/content/commands/connect/redirect-traffic.mdx b/website/content/commands/connect/redirect-traffic.mdx index 27313d5367..fef0dc716b 100644 --- a/website/content/commands/connect/redirect-traffic.mdx +++ b/website/content/commands/connect/redirect-traffic.mdx @@ -36,6 +36,8 @@ Usage: `consul connect redirect-traffic [options]` #### Options for Traffic Redirection Rules +- `-consul-dns-ip` - The IP address of the Consul DNS resolver. If provided, DNS queries will be redirected to the provided IP address for name resolution. + - `-proxy-id` - The [proxy service](/docs/connect/registration/service-registration) ID. This service ID must already be registered with the local agent. @@ -47,13 +49,13 @@ Usage: `consul connect redirect-traffic [options]` - `-exclude-inbound-port` - Inbound port to exclude from traffic redirection. May be provided multiple times. -- `exclude-outbound-cidr` - Outbound CIDR to exclude from traffic redirection. May be provided multiple times. +- `-exclude-outbound-cidr` - Outbound CIDR to exclude from traffic redirection. May be provided multiple times. -- `exclude-outbound-port` - Outbound port to exclude from traffic redirection. May be provided multiple times. +- `-exclude-outbound-port` - Outbound port to exclude from traffic redirection. May be provided multiple times. -- `exclude-uid` - Additional user ID to exclude from traffic redirection. May be provided multiple times. +- `-exclude-uid` - Additional user ID to exclude from traffic redirection. May be provided multiple times. -- `netns` - The Linux network namespace where traffic redirection rules should apply. +- `-netns` - The Linux network namespace where traffic redirection rules should apply. This must be a path to the network namespace, e.g. /var/run/netns/foo. #### Enterprise Options