Am Mittwoch, 11. Mai 2005 13:46 schrieb Arthur:
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 :) )
Thanks! I found out, that in SuSEfirewall2-custom, I can use Shell skrips and variables. That does it!
Good luck :)
Regards,
Arthur Kok
----- Original Message ----- From: "Markus Feilner"
To: 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@feilner-it.net web http://www.feilner-it.net
-- Check the headers for your unsubscription address For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
-- Mit freundlichen Grüßen Markus Feilner -------------------------- 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 skype ID: mfeilner mail: mfeilner@feilner-it.net -- --------------------------- 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@feilner-it.net web http://www.feilner-it.net