vvbbnn00 / WARP-Clash-API

该项目可以让你通过订阅的方式使用Cloudflare WARP+,自动获取流量。This project enables you to use Cloudflare WARP+ through subscription, automatically acquiring traffic.
GNU General Public License v3.0
8.18k stars 1.12k forks source link

我不需要刷流量,如何导入一批已有的wg-config.conf #206

Closed coulsontl closed 1 month ago

coulsontl commented 1 month ago

如题,我不想让docker新建一个key去慢慢刷流量,如何导入我已有的一批刷好流量的wg-config.conf呢?

类型这样的 wg-config.conf

[Interface] PrivateKey = kxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx4= Address = 172.16.0.2/32, 2606:4700:110:8436:5647:b174:13f1:d192/128 DNS = 1.1.1.1, 1.0.0.1, 2606:4700:4700::1111, 2606:4700:4700::1001 MTU = 1280 [Peer] PublicKey = bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo= AllowedIPs = 0.0.0.0/0 AllowedIPs = ::/0 Endpoint = engage.cloudflareclient.com:2408

a5412398 commented 1 month ago

image

vvbbnn00 commented 1 month ago

可以修改生成的account.json文件,然后将GET_WARP_DATA_INTERVAL设置为0以关闭流量刷取