Hi Mark: Finally this is the script with a little modification. $data = request.get(); $count = 500; while( $data == "" && $count-- > 0 ) { connection.sleep( 10 ); $data = request.get(); } if ( string.regexmatch($data, "(.*?HTTP/1.*?)\r\n\r\n(.*)") ) { request.set($1 . "\r\n" . "X-Forwarded-For: " . request.getRemoteIP() . "\r\n\r\n" . $2 ); } Now I can catch all of the origin IP but only fot HTTP and HTTPS (with SSL Offload). Thanks so much for your reply and for the script. Cheers Felix
... View more