Re: how to write different ip sources on a single rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux