-2

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.

1

1 Answer 1

1

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;

http://www.thegeekstuff.com/2011/01/iptables-fundamentals/

http://www.cyberciti.biz/tips/linux-iptables-examples.html

http://null.53bits.co.uk/index.php?page=iptables-notes

Not the answer you're looking for? Browse other questions tagged .