From e7d237b12a07594922921d5083123bdaeb14aa30 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Mon, 6 Dec 2021 23:14:54 +0100 Subject: [PATCH] [fix] Avoid to breaks hotspot masquerade --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 9164892..57618a4 100644 --- a/deploy.sh +++ b/deploy.sh @@ -38,7 +38,7 @@ echo "INTERFACESv4='$IFACENAME'" >> /etc/default/isc-dhcp-server cat << EOF > /usr/local/bin/ynh-extraeth #!/bin/bash -iptables -t nat -A POSTROUTING -s 10.0.0.1/24 -o $TUNIFACE -j MASQUERADE +iptables -t nat -A POSTROUTING -o $TUNIFACE -j MASQUERADE echo 1 > /proc/sys/net/ipv4/ip_forward case "\$1" in