[CentOS] Easy way to reject all incoming packets except from certain IPs?

Tue Jan 31 22:45:26 UTC 2006
Preston Crawford <preston.crawford at gmail.com>

Is there an easy way to reject all incoming packets except those that come
from certain IPs? I can't find any way via iptables or via the GUI provided
with CentOS (or another GUI for CentOS) without having to resort to
Shorewall. It's fine if the answer is "go with Shorewall". I just didn't
want to have to become a Shorewall expert for this really small task.

Any help/advice on this is appreciated. Am I missing an easier way?

Preston
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20060131/e94537ee/attachment-0003.html>