The geoblock role currently runs on all servers (relay + landing) via site.yml. It installs ipset/iptables, downloads China CIDR lists from ipdeny.com, populates an ipset named cn-block, adds an iptables OUTPUT chain DROP rule, and sets up a daily cron refresh + systemd boot restore. CN destination routing is already handled at the Surge client level via policy/group rules, making the server-side block redundant.
Goals:
Non-Goals:
Remove the entire roles/geoblock/ directory rather than disabling it, since there is no reason to keep the code around. Remove the role reference from site.yml "Base server setup" play. Remove the geoblock-cn spec from openspec/specs/. Update README.md references.
iptables -D OUTPUT -m set --match-set cn-block dst -j DROP && ipset destroy cn-block may be needed on existing servers, or a reboot will clear them.