iptables +block country

Sandy Harris sandyinchina at gmail.com
Mon Aug 16 08:39:30 BST 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 58.14.0.0/15 -j REJECT
>>> /sbin/iptables -A INPUT -p tcp -s 58.16.0.0/13 -j REJECT
>>> /sbin/iptables -A INPUT -p tcp -s 58.24.0.0/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 mailing list