Update wireguard-install.sh

test
This commit is contained in:
tteckster 2024-09-02 11:36:21 -04:00 committed by GitHub
parent cb8318bf08
commit 030d477cc3
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_ok "Installed Dependencies"
msg_info "Installing WireGuard" msg_info "Installing WireGuard"
$STD apt-get install -y wireguard wireguard-tools net-tools iptables resolvconf $STD apt-get install -y wireguard wireguard-tools net-tools iptables
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confnew" install -y iptables-persistent &>/dev/null DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confnew" install -y iptables-persistent &>/dev/null
$STD netfilter-persistent reload $STD netfilter-persistent reload