Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
33 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package iptables is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libxtables12
E: Unable to locate package openresolv
E: Package 'iptables' has no installation candidate
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package wireguard-tools
menu.sh: line 2129: wg: command not found
--2023-09-14 05:26:51-- https://cdn2.cloudflare.now.cc/https://gitlab.com/fscarmen/warp/-/raw/main/wireguard-go/wireguard-go-linux-amd64-20201118
Resolving cdn2.cloudflare.now.cc (cdn2.cloudflare.now.cc)... 2606:4700:3036:9c2c, 2606:4700:3033::6815:30ca
Connecting to cdn2.cloudflare.now.cc (cdn2.cloudflare.now.cc)|2606:4700:3036:9c2c|:443... connected.
HTTP request sent, awaiting response... 200 OK
Cookie coming from cdn2.cloudflare.now.cc attempted to set domain to gitlab.com
Length: 2523136 (2.4M) [application/octet-stream]
Saving to: ‘/usr/bin/wireguard-go’
/usr/bin/wireguard-go 100%[==================================================================================>] 2.41M 15.0MB/s in 0.2s
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
33 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package iptables is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libxtables12
E: Unable to locate package openresolv
E: Package 'iptables' has no installation candidate
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package wireguard-tools
menu.sh: line 2129: wg: command not found
--2023-09-14 05:26:51-- https://cdn2.cloudflare.now.cc/https://gitlab.com/fscarmen/warp/-/raw/main/wireguard-go/wireguard-go-linux-amd64-20201118
Resolving cdn2.cloudflare.now.cc (cdn2.cloudflare.now.cc)... 2606:4700:3036:9c2c, 2606:4700:3033::6815:30ca
Connecting to cdn2.cloudflare.now.cc (cdn2.cloudflare.now.cc)|2606:4700:3036:9c2c|:443... connected.
HTTP request sent, awaiting response... 200 OK
Cookie coming from cdn2.cloudflare.now.cc attempted to set domain to gitlab.com
Length: 2523136 (2.4M) [application/octet-stream]
Saving to: ‘/usr/bin/wireguard-go’
/usr/bin/wireguard-go 100%[==================================================================================>] 2.41M 15.0MB/s in 0.2s
辛苦啦大佬,真是一点离不开你!
膜拜!
当初小J跳验那会,真是帮了大忙。
衷心感谢!
大佬加油!!!
不是双路ip的小鸡重装了都习惯性装上warp填补v4或v6的空缺,没有大佬的脚本不行哇
鸡腿奉上
同贺同支持
热烈祝贺~ v6 only vps 必备脚本~
纯v6小鸡安装出错了。
进度 1/3: 安装系统依赖……
Get:1 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Get:2 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:3 http://deb.debian.org/debian bullseye-backports/main amd64 Packages [406 kB]
Get:4 http://security.debian.org/debian-security bullseye-security/main Sources [155 kB]
Get:5 http://deb.debian.org/debian bullseye-backports/main Translation-en [341 kB]
Get:6 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [246 kB]
Get:7 http://security.debian.org/debian-security bullseye-security/main Translation-en [159 kB]
Fetched 1403 kB in 3s (501 kB/s)
Reading package lists... 69%
进度 2/3: 已安装 WARP
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
33 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package iptables is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libxtables12
E: Unable to locate package openresolv
E: Package 'iptables' has no installation candidate
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package wireguard-tools
menu.sh: line 2129: wg: command not found
--2023-09-14 05:26:51-- https://cdn2.cloudflare.now.cc/https://gitlab.com/fscarmen/warp/-/raw/main/wireguard-go/wireguard-go-linux-amd64-20201118
Resolving cdn2.cloudflare.now.cc (cdn2.cloudflare.now.cc)... 2606:4700:3036:9c2c, 2606:4700:3033::6815:30ca
Connecting to cdn2.cloudflare.now.cc (cdn2.cloudflare.now.cc)|2606:4700:3036:9c2c|:443... connected.
HTTP request sent, awaiting response... 200 OK
Cookie coming from cdn2.cloudflare.now.cc attempted to set domain to gitlab.com
Length: 2523136 (2.4M) [application/octet-stream]
Saving to: ‘/usr/bin/wireguard-go’
/usr/bin/wireguard-go 100%[==================================================================================>] 2.41M 15.0MB/s in 0.2s
2023-09-14 05:26:52 (15.0 MB/s) - ‘/usr/bin/wireguard-go’ saved [2523136/2523136]
grep: /usr/bin/wg-quick: No such file or directory
sed: can't read /usr/bin/wg-quick: No such file or directory
进度 3/3: 寻找 MTU 最优值和优选 endpoint 地址已完成
创建快捷 warp 指令成功
运行 WARP
没有安装 WireGuard tools 或者找不到配置文件 warp.conf,请重新安装。
@kikuri #34
我也是,但尽量最好用原来有的网络接口,比较快。
你的系统安装 wireguard-tools 不成功啊,你手动安装看看报什么错,再根据系统查查如何解决呢。