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

Re: [suse-security] iptables wildcard for IP Addresses?



Markus,

You could try something using your subnetmasker.
For example, if you use this prefix: 1.1.1.17/28 (subnetmask
255.255.255.240)
you are giving access to hosts 1.1.1.17 through 1.1.1.30

A subnetmask 'calculator' is very handy with these things.
I use a freeware package from Boson, I believe it's called ipsubnetter.
(Try to google it or something :) )

Good luck :)

Regards,

Arthur Kok

----- Original Message ----- 
From: "Markus Feilner" <lists@xxxxxxxxxxxxxx>
To: <suse-security@xxxxxxxx>
Sent: Wednesday, May 11, 2005 10:06 AM
Subject: [suse-security] iptables wildcard for IP Addresses?


> Hello List,
> I want to enable several (ten) hosts to access my VPN. I am using
SuSEfirewall
> and I have custom iptables rules in SuSEfirewall2-custom.
> Now i want to add one rule for all these hosts. I know that "!" is the
> wildcard for "any host but the following".
> How can I add an iptables rule affecting Source IPs from e.g. 1.1.1.10 to
> 1.1.1.20?
> I've been looking, but i didn't ind something.
> Can I use bash-constructs like for.. in SuSEfirewall2-custom?
> Is there any docs around about this specific file?
> thanks!
>
> -- 
> ---------------------------
> Bitte beachten Sie unsere neuen Adressdaten! Vielen Dank.
> ---------------------------
> Feilner IT Linux & GIS
> Linux Solutions, Training, Seminare und Workshops - auch Inhouse
> Beraiterweg 4 93047 Regensburg
> fon +49 941 9465243 fax +49 941 9465244 mobil + +49 170 3027092
> mail mfeilner@xxxxxxxxxxxxxx web http://www.feilner-it.net
>
> -- 
> Check the headers for your unsubscription address
> For additional commands, e-mail: suse-security-help@xxxxxxxx
> Security-related bug reports go to security@xxxxxxx, not here
>
>


-- 
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here