涉及2个步骤:
1-创建要在Windows上使用的配置文件密钥
2-安装Wireguard VPN本身并对其进行配置
步骤1 :
-下载Node.js(https://nodejs.org/en/download/)
安装Node.js
-以“管理员”身份打开powershell _输入“ Set-ExecutionPolicy RemoteSigned” _键入“ y”,然后按Enter
-在Powershell中输入“ npm i -g cf-warp”,然后按Enter
-等待下载
-键入“ cf-warp”以生成具有1 gb的免费warp +的新密钥,您可以键入“ cf-warp 10”以获取10 GB,但这会花费更长的时间(将数字更改为您的心愿)
(您可以在带宽用完后继续使用此密钥,而只是使用免费服务,但是对于某些人来说,它可能会变慢(我个人认为没有区别)
第2步 :
-从以下网址下载最新版本:https://www.wireguard.com/install/
-安装后,打开程序,然后单击左下方的标有“添加隧道”的图片
-在此处复制在Powershell中以“ .conf”结尾的地址,然后在主菜单上单击“激活”
-使用以下命令检查连接状态:“ https://www.cloudflare.com/cdn-cgi/trace”,在最后一行,如果您未连接“ warp = off”,则省略了“ warp = on”重新获得一个免费帐户,如果您使用elif“ warp = plus”,则说明您是付费会员
—–
额外说明:
我们曾经用什么包来做到这一点:https://github.com/maple3142/cf-warp
*为安全起见,您可以使用“ Set-ExecutionPolicy Restricted”来设置Powershell规则,但是我个人并不希望每次运行此脚本时都这样做。
**如果您以无政府主义者的身份使用此协议,则可以并且应该偶尔使用此脚本隐藏您的踪迹,wireguard仍然需要进一步的测试,并且使用此脚本创建一个新脚本确实很容易。
-请享用
It doesn't work here anymore, but the video is still good !! Would it be possible to pass the link to download the profile to WireGuard, and I edit the connection "data", along with what I already have on my smartphone, in the 1.1.1.1 app? If that is possible, thank you! By the way, your IP is exposed in the video, try to cover it
Shit stupid I did it first time someone fix they stuffffffffffffffff keep getting errors
i think there is something wrong, can you identifier what the problem is…(node:10760) UnhandledPromiseRejectionWarning: HTTPError: Forbidden
at responseErrorThrower (C:UsersAdministratorAppDataRoamingnpmnode_modulescf-warpnode_modulesxfetch-jsxfetch.js:37:22)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async module.exports (C:UsersAdministratorAppDataRoamingnpmnode_modulescf-warplibregister.js:11:15)
at async init (C:UsersAdministratorAppDataRoamingnpmnode_modulescf-warpcli.js:41:15)
(node:10760) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `–unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:10760) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
داداش فایل کانفیگ آماده رو از کجا میشه پیدا کرد؟
my first ever uploaded video. I'm so scared of hearing my own voice but I think I sounded good today.
stay tuned for more shenanigans