From d5e66a25ff537e3d664146b8e0c75c73bbd77b04 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 24 Aug 2024 09:52:59 -0400 Subject: [PATCH] Update wireguard-install.sh tweak --- install/wireguard-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/wireguard-install.sh b/install/wireguard-install.sh index b737c868..de6c53f2 100644 --- a/install/wireguard-install.sh +++ b/install/wireguard-install.sh @@ -21,7 +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 +$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