diff --git a/script.sh b/script.sh index 44e0570..efca012 100644 --- a/script.sh +++ b/script.sh @@ -94,7 +94,7 @@ if [ "$IRAN" == "YES" ]; then fi # accept low ports -------------------------- sudo iptables -t nat -A PREROUTING -p tcp --dport 8050 -j ACCEPT - sudo iptables -t nat -A PREROUTING -p tcp --dports 1000:6000 -j ACCEPT + sudo iptables -t nat -A PREROUTING -p tcp -m multiport --dports 1000:6000 -j ACCEPT # redirect proxy ports ---------------------- if [ -v PROXY ]; then sudo iptables -t nat -A PREROUTING -p tcp -m multiport --dports 445,777 -j DNAT --to-destination $PROXY:445