{"id":47258355,"url":"https://github.com/guangyu-yu/cfnat","last_synced_at":"2026-04-18T05:08:06.043Z","repository":{"id":343715473,"uuid":"1178873505","full_name":"GuangYu-yu/CFnat","owner":"GuangYu-yu","description":"基于 Rust + Flutter 编写的，一款自动延迟优选 Cloudflare IP 并负载均衡转发的工具。","archived":false,"fork":false,"pushed_at":"2026-03-29T17:19:38.000Z","size":237037,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-03T03:20:51.332Z","etag":null,"topics":["cdn","cfnat","cloudflare","speedtest"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GuangYu-yu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-11T13:06:12.000Z","updated_at":"2026-04-02T03:42:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/GuangYu-yu/CFnat","commit_stats":null,"previous_names":["guangyu-yu/cfnat"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/GuangYu-yu/CFnat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuangYu-yu%2FCFnat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuangYu-yu%2FCFnat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuangYu-yu%2FCFnat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuangYu-yu%2FCFnat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GuangYu-yu","download_url":"https://codeload.github.com/GuangYu-yu/CFnat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuangYu-yu%2FCFnat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31526666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cdn","cfnat","cloudflare","speedtest"],"created_at":"2026-03-14T21:57:23.663Z","updated_at":"2026-04-18T05:08:06.033Z","avatar_url":"https://github.com/GuangYu-yu.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# CFnat\n\n**Cloudflare IP 延迟优选 + 负载均衡转发工具**\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/rustc-latest-orange?style=flat-square\u0026logo=rust\" alt=\"Rust Version\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Flutter-latest-blue?style=flat-square\u0026logo=flutter\" alt=\"Flutter\"\u003e\n  \u003ca href=\"https://github.com/GuangYu-yu/CFnat/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/downloads/GuangYu-yu/CFnat/total?style=flat-square\u0026logo=github\" alt=\"GitHub Downloads\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/GuangYu-yu/CFnat\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/GuangYu-yu/CFnat?style=flat-square\u0026label=Star\u0026color=00ADD8\u0026logo=github\" alt=\"GitHub Stars\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/GuangYu-yu/CFnat/forks\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/forks/GuangYu-yu/CFnat?style=flat-square\u0026label=Fork\u0026color=00ADD8\u0026logo=github\" alt=\"GitHub Forks\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://deepwiki.com/GuangYu-yu/CFnat\"\u003e\n    \u003cimg src=\"https://deepwiki.com/badge.svg\" alt=\"Ask DeepWiki\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://zread.ai/GuangYu-yu/CFnat\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Ask_Zread-_.svg?style=flat\u0026color=00b0aa\u0026labelColor=000000\u0026logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuOTYxNTYgMS42MDAxSDIuMjQxNTZDMS44ODgxIDEuNjAwMSAxLjYwMTU2IDEuODg2NjQgMS42MDE1NiAyLjI0MDFWNC45NjAxQzEuNjAxNTYgNS4zMTM1NiAxLjg4ODEgNS42MDAxIDIuMjQxNTYgNS42MDAxSDQuOTYxNTZDNS4zMTUwMiA1LjYwMDEgNS42MDE1NiA1LjMxMzU2IDUuNjAxNTYgNC45NjAxVjIuMjQwMUM1LjYwMTU2IDEuODg2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- 使用本项目代码或程序时，必须严格遵守所在地区的法律法规。\n- 对使用本软件由此产生的任何后果完全自负。\n\n# 演示图\n\n\u003cimg alt=\"演示图\" src=\"https://raw.githubusercontent.com/GuangYu-yu/CFnat/refs/heads/main/png/终端.png\" /\u003e\n\u003cimg alt=\"演示图\" src=\"https://raw.githubusercontent.com/GuangYu-yu/CFnat/refs/heads/main/png/前端.png\" /\u003e\n\n## 参数说明\n\n| 参数 | 说明 | 默认值 |\n|------|------|--------|\n| `-addr` | 本地监听地址 | `127.6.6.6:1234` |\n| `-colo` | 数据中心过滤，多个用逗号分隔 | 无 |\n| `-dl` | 延迟上限（毫秒） | `500` |\n| `-tlr` | 丢包率上限 | `0.1` |\n| `-http` | 测速地址 | `http://cp.cloudflare.com/cdn-cgi/trace` |\n| `-ips` | 目标负载 IP 数量 | `10` |\n| `-n` | 测速并发数 | `16` |\n| `-tp` | TLS 流量转发端口 | `443` |\n| `-p` | HTTP 流量转发端口 | `80` |\n| `-f` | IP 文件路径 | `ip.txt` |\n\n## 示例\n\n```bash\n\ncurl -OL https://github.com/GuangYu-yu/CFnat/raw/refs/heads/main/binaries/Linux_ARM64/CFnat \u0026\u0026 chmod +x CFnat\n\n# 基本使用\n./CFnat -f ip.txt\n\n# 指定数据中心\n./CFnat -f ip.txt -colo HKG,LAX,SJC\n\n# 自定义参数\n./CFnat -f ip.txt -ips 20 -dl 500 -addr 127.0.0.1:1234\n```\n## License\n\nGNU Affero General Public License v3.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguangyu-yu%2Fcfnat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguangyu-yu%2Fcfnat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguangyu-yu%2Fcfnat/lists"}