user:thomas 由用户创建的 Gists
user:thomas
title:mygist 包含指定标题的 Gists
title:mygist
filename:myfile.txt 包含指定文件名的 Gists
filename:myfile.txt
extension:yml 包含指定扩展名的 Gists
extension:yml
language:go 包含指定编程语言的 Gists
language:go
topic:homelab 具有给定主题的 Gists
topic:homelab
登录
最后活跃于 10 months ago
這個 Bash 腳本用於 建立並更新 ipset 規則,將台灣的 IP 網段加入名為 taiwan_ips 的集合,以便在 iptables 防火牆 中使用。它會從 GitHub 下載最新的 台灣 IP 清單 (tw.txt),然後解析其中的 IPv4 網段 並加入 ipset,最後可用於 限制 SSH 存取、流量過濾或強化網路安全,適用於 伺服器管理、防禦異地登入或阻擋非台灣 IP 連線。
嵌入
将此 Gist 嵌入到您的网站。
通过 HTTPS 克隆
使用 HTTP 基础认证通过 Git 克隆。
通过 SSH 克隆
使用 SSH 密钥通过 Git 克隆。
由 Opengist 强力驱动 ⋅ Load: 2ms⋅