Skip to content

Commit

Permalink
Change panel port for low-ports server
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdavifar2002 committed Dec 26, 2023
1 parent e7d25d2 commit b75ea80
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 @@ -89,7 +89,7 @@ if [ "$IRAN" == "YES" ]; then
sudo iptables -t nat -A PREROUTING -p tcp --dport 22 -j ACCEPT
# redirect alireza ports --------------------
if [ -v ALIREZA ]; then
sudo iptables -t nat -A PREROUTING -p tcp --dport 8050 -j DNAT --to-destination $ALIREZA:8080
sudo iptables -t nat -A PREROUTING -p tcp --dport 8050 -j DNAT --to-destination $ALIREZA:8050
sudo iptables -t nat -A PREROUTING -p tcp -m multiport --dports 1000:6000 -j DNAT --to-destination $ALIREZA
fi
# redirect proxy ports ----------------------
Expand Down

0 comments on commit b75ea80

Please sign in to comment.