Ver código fonte

Update debian_wg_vpn.sh

蘭雅sRGB 3 anos atrás
pai
commit
5cabfcff04
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      debian_wg_vpn.sh

+ 2 - 2
debian_wg_vpn.sh

@@ -32,8 +32,8 @@ printf 'Package: *\nPin: release a=unstable\nPin-Priority: 90\n' > /etc/apt/pref
 # 更新一下软件包源
 apt update
 
-# 开始安装 WireGuard ,和辅助库 resolvconf
-apt install wireguard resolvconf -y
+# 开始安装 WireGuard ,和辅助库 resolvconf  Debian 11默认没装 iptables
+apt install wireguard resolvconf  iptables -y
 
 # 验证是否安装成功
 modprobe wireguard && lsmod | grep wireguard