Update wireguard-install.sh

tweak
This commit is contained in:
tteckster 2024-08-24 10:08:27 -04:00 committed by GitHub
parent d5e66a25ff
commit 4844a00316
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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