Hi All,
I need help on configuring envoy as a dynamic forward proxy for udp traffic.
The UDP traffic are redirected into envoy using iptable DNAT.
Envoy supposes to forward the traffic to an upstream server, using the original destination ip/port.
Envoy v1.32.0
OS: ubuntu
Error:
[2024-11-08 14:39:12.653][104152][debug][init] [source/common/init/watcher_impl.cc:31] init manager Server destroyed
Didn't find a registered implementation for 'envoy.filters.listener.original_dst' with type URL: 'envoy.extensions.filters.listener.original_dst.v3.OriginalDst'
The following is my test config
admin:
access_log_path: admin_access.log
address:
socket_address:
address: 127.0.0.1
protocol: TCP
port_value: 9901
static_resources:
listeners:
- name: original_dst_cluster_listener
address:
socket_address:
protocol: UDP
address: 0.0.0.0
port_value: 10005
listener_filters:
- name: envoy.filters.listener.original_dst
typed_config:
- name: envoy.filters.udp_listener.udp_proxy
typed_config:
stat_prefix: udp_egress
cluster: original_destination_cluster
clusters:
- name: original_dst_cluster
connect_timeout: 5s
lb_policy: CLUSTER_PROVIDED
type: ORIGINAL_DST
dns_lookup_family: V4_ONLY