From 253da053feff9c39142a58391eac08ccb6aa88f5 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 24 Aug 2024 11:02:04 -0400 Subject: [PATCH] Update wireguard-install.sh tweak --- install/wireguard-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/wireguard-install.sh b/install/wireguard-install.sh index c80d4fe1..1b12dfbf 100644 --- a/install/wireguard-install.sh +++ b/install/wireguard-install.sh @@ -22,6 +22,7 @@ msg_ok "Installed Dependencies" msg_info "Installing WireGuard" $STD apt-get install -y wireguard wireguard-tools net-tools iptables +iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confnew" install -y iptables-persistent &>/dev/null $STD netfilter-persistent reload msg_ok "Installed WireGuard"