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 13:35, Burak Ozgoren wrote:
> > Hi,
> >
> >
> > I know i can write source ip within a ip range or with a network mask. 
For
> > example: 192.168.0.5-192.168.0.15 or 192.168.0.0/24
> >
> >
> > Can i write it for single ip. Like 192.168.0.5 and 192.168.0.9
> 
> You can use the second notation (192.168.0.0/24), but for the first you 
need
> the iprange match.
> 
> 
http://www.netfilter.org/projects/patch-o-matic/pom-base.html#pom-base-iprange
> 
> 
> 
> Grts,
> Rob
> 

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.

Thanks for the reply.



[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