It's clear to me how to drop all packets except those coming from one
address/mask:
.... -s ! address/[mask] ... -j DROP
What's not so clear is what to do if I want to allow more than one
address/[mask]. Currently I'm doing it via a simple user-defined chain,
e.g.
.... -s ! address1/[mask1] ... -j chain_1
.... chain_1 ... -s ! address2/[mask2] -j DROP
Is there a more clever way of doing it than this?
TIA
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com