On Thu, September 28, 2006 14:22, Burak Ozgoren wrote: > I know about range, and mask but need a rule like for example: > > Accept port 22 connections from 192.168.0.5, 10.10.60.163, 212.12.X.X > > Now i am writing 3 different rules for these. You can't with iptables, but although I'm not familiar with it myself, I thought you could do (something like) this with ipset. http://ipset.netfilter.org/features.html Grts, Rob