Skip to content

Commit 1e2f953

Browse files
authored
Remove setting NAT as its already in PostUp/Down (#2510)
1 parent 2937516 commit 1e2f953

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

install/wireguard-install.sh

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ msg_ok "Installed Dependencies"
2222

2323
msg_info "Installing WireGuard"
2424
$STD apt-get install -y wireguard wireguard-tools net-tools iptables
25-
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
2625
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confnew" install -y iptables-persistent &>/dev/null
2726
$STD netfilter-persistent reload
2827
msg_ok "Installed WireGuard"

0 commit comments

Comments
 (0)