Mailinglist Archive: opensuse (3109 mails)
| < Previous | Next > |
RE: [opensuse] Blocking foreigners!
- From: "Pedro Marques" <adm@xxxxxxxxx>
- Date: Tue, 27 Feb 2007 11:51:41 -0000
- Message-id: <011301c75a65$a9cefd60$1b02a8c0@posto27>
You can user IP2Country database, a CSV file with IP ranges (decimal) by
country.
Google for "ip2country database".
Use your imagination to apply the data to iptables. :-)
I'd use mysql and php.
HTH,
Pedro
-----Original Message-----
From: Matthew Stringer [mailto:qube@xxxxxxxxxxxxxx]
Sent: terça-feira, 27 de Fevereiro de 2007 11:04
To: opensuse@xxxxxxxxxxxx
Subject: [opensuse] Blocking foreigners!
Is it possible to configure IPTables to only allow connections from a
particular country?
Is there an online list of all the subnets used in each country?
I have a webserver which I only want UK residents accessing but I've not
been
able to determine a complete list of IP's
If I just blocked all non-RIPE addresses that would restrict me to Europe
only
but there doesn't seem to be a list per country, does that mean they're all
mixed up?
Regards
Matthew
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |