Update wireguard-install.sh

tweak
This commit is contained in:
tteckster 2024-08-24 09:47:37 -04:00 committed by GitHub
parent 21abd09052
commit 2281a20b75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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