Original Src Filter

Use the Original source address on upstream connections.

config.filter.listener.original_src.v2alpha1.OriginalSrc

[config.filter.listener.original_src.v2alpha1.OriginalSrc proto]

The Original Src filter binds upstream connections to the original source address determined for the connection. This address could come from something like the Proxy Protocol filter, or it could come from trusted http headers.

{
  "bind_port": "...",
  "mark": "..."
}
bind_port

(bool) Whether to bind the port to the one used in the original downstream connection.

Warning

Not implemented yet

mark
(uint32) Sets the SO_MARK option on the upstream connection’s socket to the provided value. Used to ensure that non-local addresses may be routed back through envoy when binding to the original source address. The option will not be applied if the mark is 0.