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

沒有留言:

Android ACCESS_LOCAL_NETWORK permission

目標 SDK 版本 37 以上版本,app 若需要存取區域網網,需要求 ACCESS_LOCAL_NETWORK 權限 Google Play 中的 Termux 在 app 並沒有要求此權限,造成 ping、curl 內網都不會通 ping: sendmsg: Operatio...