Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I need to disable all ip address including all ports except few ip address. I want to access the server only from few ip address, i do not want to access the server from other ip address.

share|improve this question

closed as not a real question by dunxd, Ward, Wesley, voretaq7 Apr 4 '13 at 18:22

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

What have you tried? Server Fault is a site for Professional System and Network Administrators -- We expect you to have done some research, and even attempted to find a solution on your own. "Please do this for me" / "Be my Google" questions are not really appropriate here. See this Meta topic for more information on how to improve your question into one that may attract some more helpful answers. – voretaq7 Apr 4 '13 at 18:22

This is explained all over the Internet and doesn't really require a question here, as it really is very easy to find via a search engine;

share|improve this answer

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