Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Where to find and how to block blacklisted IPs and proxies?

There are certain programs that change the IP a user appears to be coming from.
I would like to know if there is a way to block these users, and only allow them to visit my website using their real IP.

share|improve this question

marked as duplicate by Michael Hampton, Magellan, Ward, voretaq7 Nov 16 '12 at 16:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I really couldn't make sense of your original question, so I've tried to translate it into something closer to standard English. If I totally mangled your meaning please let me know :-) – voretaq7 Nov 15 '12 at 21:48

Since you're talking about nginx you're talking about TCP-based protocols. There is no practical way to "change the ip address" and have two-way communication, which is necessary for TCP-based protocols to work.

Something like TOR routes traffic through a network of machines to disguise the original source IP address of the traffic. Your server would see the source IP address as being the last node in the TOR network (called the "exit node") that the traffic was routed through. There's no practical way for your nginx server to keep track of all the possible TOR exit nodes for blocking traffic from those nodes (that list changes every day) and no practical way to recover the original source IP address.

share|improve this answer
sad, knowing That Prohibit someone will return with fake ip – Anonimo Nov 15 '12 at 21:15
@Anonimo - That's the Internet. If you want to positively identify users and block them they're you're pretty much stuck implementing some type of authentication mechanism. IP addresses don't correspond to people. – Evan Anderson Nov 15 '12 at 21:17
Ok, Thanks Evan ! :- ) – Anonimo Nov 15 '12 at 21:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.