From 2281a20b756ad8a1c4d7dc7f7fcfc5add2633766 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 24 Aug 2024 09:47:37 -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 4b775545..b737c868 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 iptables-persistent +$STD apt-get install -y wireguard wireguard-tools net-tools iptables iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE $STD netfilter-persistent save $STD netfilter-persistent reload