Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdavifar2002 committed Jul 9, 2024
1 parent a3ba5d6 commit 6daad5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6daad5e

Please sign in to comment.