2025年10月3日 星期五

Using wgcf to export WARP WireGuard config

Cloudflare WARP 的底層是用 WireGuard tunnel
wgcf 工具可以把它匯出成 WireGuard config

curl -sL https://github.com/ViRb3/wgcf/releases/download/v2.2.29/wgcf_2.2.29_linux_amd64 > wgcf
chmod 755 wgcf
./wgcf register
./wgcf generate

產生 wgcf-profile.conf

沒有留言:

PHP class for HE.net DNS management

HE.net 這家老牌的網路服務商,它所提供的 Free DNS service 並沒有 API, 所以寫了這個 PHP class,可以新增、刪除、修改 DNS records https://github.com/pankpan/henet 它是爬蟲方式登入,Parse ...