Skip to content

Instantly share code, notes, and snippets.

View mdevrees's full-sized avatar

Mycha de Vrees mdevrees

View GitHub Profile
#!/bin/bash
# BASED ON:
# Purpose: Block all traffic from CHINA (CN). Use ISO code. #
# See url for more info - http://www.cyberciti.biz/faq/?p=3402
# Author: nixCraft <www.cyberciti.biz> under GPL v.2.0+
# -------------------------------------------------------------------------------
# https://www.ipdeny.com/ipblocks/
# il israel
# ru russia
# by bellarus