Restoring original visitor IP | Web Hosting Talk



Hello guys

I am using Cloudflare as revers proxy and LiteSpeed as web server, I’ve enabled restoring original visitor IP in LiteSpeed console, Now i can see original visitor IP in access log (Raw access in cpanel) but when i run following command it still show cloudflare IPs instead of original IPs

Code:

netstat -anp |grep 'tcp|udp"https://www.webhostingtalk.com/" awk '{print $5}"https://www.webhostingtalk.com/" cut -d: -f1 | sort | uniq -c | sort -n

How can i check original visitor IPs by command line as live ( I mean while visitors are browsing or sending request to my websites)?