Update wireguard-install.sh

tweak
pull/3606/head
tteckster 2024-08-24 09:52:59 -04:00 committed by GitHub
parent 2281a20b75
commit d5e66a25ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ $STD apt-get install -y git
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing WireGuard" 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 iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
$STD netfilter-persistent save $STD netfilter-persistent save
$STD netfilter-persistent reload $STD netfilter-persistent reload