I have two vps ,to build sshd on my vps_ip1 and install autoproxy plugin in firefox on local machine, to bind some_domain with vps_ip2,and put the read.php on the vps_ip2.
<?php
echo  $_SERVER['REMOTE_ADDR'];
echo  "<br>";
echo  $_SERVER['REQUEST_TIME'];
echo  "<br>";
echo  $_SERVER['HTTP_X_FORWARDED_FOR'];
echo  "<br>";
echo  $_SERVER['HTTP_CLIENT_IP'];
?>  
Now my local ip is ip0, I connect vps_ip1 with ssh and start autoproxy,when to input  some_domain/read.php in firefox , to get the fllowing output :
vps_ip1
1426332103
$_SERVER['HTTP_X_FORWARDED_FOR'] and $_SERVER['HTTP_CLIENT_IP'] get nothing about my ip0.
How to get my local ip0 with some php function?
 
     
     
     
     
    