iptables +block country
sandyinchina at gmail.com
Mon Aug 16 07:39:30 UTC 2010
On Mon, Aug 16, 2010 at 3:36 PM, Tom H <tomh0665 at gmail.com> wrote:
> On Mon, Aug 16, 2010 at 3:32 AM, Sandy Harris <sandyinchina at gmail.com> wrote:
>> On Mon, Aug 16, 2010 at 12:31 PM, NoOp <glgxg at sbcglobal.net> wrote:
>>> /sbin/iptables -A INPUT -p tcp -s 22.214.171.124/15 -j REJECT
>>> /sbin/iptables -A INPUT -p tcp -s 126.96.36.199/13 -j REJECT
>>> /sbin/iptables -A INPUT -p tcp -s 188.8.131.52/15 -j REJECT
>>> Any advise as to if this is correct?
>> I do not know if it is correct as far as it goes. It is certainly
>> not complete. My current IP address (from China Telecom
>> in Shanghai) is not on it.
> The http://blacklist.linuxadmin.org/ has a long list when you select
> China. The OP must have been giving some examples or chose the ranges
> that were probing his router.
My IP is not on their long list either.
More information about the ubuntu-users