Jelajahi Sumber

Update debian_wg_vpn.sh

蘭雅sRGB 3 tahun lalu
induk
melakukan
5cabfcff04
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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