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:
![](https://cloudcache.intl.tencent-cloud.com/cms/backend-cms/c178de64164711eea6e9525400cea498.png)
![](https://cloudcache.intl.tencent-cloud.com/cms/backend-cms/c178de64164711eea6e9525400cea498.png)
PROXY TCP4 192.168.0.1 192.168.0.11 56324 443\r\n
You can check the following information with Wireshark.
![](https://cloudcache.intl.tencent-cloud.com/cms/backend-cms/175cec43164f11ee9225525400088f3a.png)
![](https://cloudcache.intl.tencent-cloud.com/cms/backend-cms/175cec43164f11ee9225525400088f3a.png)
Proxy Protocol V2
Proxy Protocol V2 supports TCPv4, TCPv6, UDPv4 and UDPv6, and adopts the binary format. See details below:
IPv4
![](https://cloudcache.intl.tencent-cloud.com/cms/backend-cms/c001d3eb164711ee9225525400088f3a.png)
![](https://cloudcache.intl.tencent-cloud.com/cms/backend-cms/c001d3eb164711ee9225525400088f3a.png)
IPv6
![](https://cloudcache.intl.tencent-cloud.com/cms/backend-cms/c000c066164711ee9225525400088f3a.png)
![](https://cloudcache.intl.tencent-cloud.com/cms/backend-cms/c000c066164711ee9225525400088f3a.png)