tcp_tproxy

Added in version 1.7.34.

A simple tcp tproxy server, which will just forward traffic to the targeted remote address.

See transparent proxy for how to setup the host firewall / route table.

The following common keys are supported:

listen

required, type: tcp listen

Set the listen config for this server.

The instance count setting will be ignored if listen_in_worker is correctly enabled.

auth_by_client_ip

optional, type: bool, conflict: auth_by_server_ip

Enable facts user authenticate and use client IP as the authenticate fact.

default: false

Added in version 1.13.0.

auth_by_server_ip

optional, type: bool, conflict: auth_by_client_ip

Enable facts user authenticate and use server IP as the authenticate fact.

default: false

Added in version 1.13.0.