All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login


All New Login

All gists matching topic iptables

Recently created
Least recently created
Recently updated
Least recently updated
fabio's Avatar

fabio / iptables against China

0 likes
0 forks
1 files
Last active 1767053683
A wide ban on Chinese subnets known for their unconstrained scraping bots
firewall iptables
1 #!/bin/bash
2
3 # iptables -F
4
5 # Ban the whole of China until it stops spamming
6 iptables -I INPUT -s 1.24.0.0/13 -j DROP
7 iptables -I INPUT -s 111.0.0.0/10 -j DROP
8 iptables -I INPUT -s 112.0.0.0/10 -j DROP
9 iptables -I INPUT -s 113.128.0.0/12 -j DROP
10 iptables -I INPUT -s 113.168.0.0/13 -j DROP
Newer Older

Powered by Opengist ⋅ Load: 21ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文