**I have hosted a xbtit tracker on a VPS server.I have uploaded a file and my friend who is on may LAN had downloaded it.But while he was downloading he did not get LAN speed which he was supposed to get.In the Peer instead of his LAN IP his Public IP was deteted.And so he downloaded at slow speed.

How can TCP header announce LAN IP over Public IP in tracker system ?
Is there any small php code ?

When i used to host the server on LAN there was no such problems.ANd all my users who will be using this tracker are my ISP LAN users.SO i need sopmething so that in the peerlist their LAN IP gets detected over Public IP

SOmebody please help me