Generally speaking, you can't - that's what proxy servers are for. That and the fact that a given person behind the server might not have a well-defined ip, such as those with dialup connections, having instead one that changes from connection to connection.