Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
1  
@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
add comment

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