From 4844a003161bed7b5e63d3273e0c4c11f26d6b5b Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 24 Aug 2024 10:08:27 -0400 Subject: [PATCH] Update wireguard-install.sh tweak --- install/wireguard-install.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/install/wireguard-install.sh b/install/wireguard-install.sh index de6c53f2..f0e98eab 100644 --- a/install/wireguard-install.sh +++ b/install/wireguard-install.sh @@ -21,10 +21,7 @@ $STD apt-get install -y git msg_ok "Installed Dependencies" msg_info "Installing WireGuard" -$STD apt-get install -y wireguard wireguard-tools net-tools iptables netfilter-persistent -iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE -$STD netfilter-persistent save -$STD netfilter-persistent reload +$STD DEBIAN_FRONTEND=noninteractive apt-get install -y wireguard wireguard-tools net-tools iptables iptables-persistent msg_ok "Installed WireGuard" msg_info "Installing WGDashboard"