EdgeOne Logo
Documentation
请选择
请选择
Overview
Menu

Format of Real Client IPs Obtained Through Proxy Protocol V1/V2

Proxy Protocol V1

Proxy Protocol V1 supports TCPv4 and TCPv6, and adopts string format. See details below:



PROXY TCP4 192.168.0.1 192.168.0.11 56324 443\r\n
You can check the following information with Wireshark.




Proxy Protocol V2

Proxy Protocol V2 supports TCPv4, TCPv6, UDPv4 and UDPv6, and adopts the binary format. See details below:

IPv4





IPv6