molon пре 4 година
родитељ
комит
af863aee8a
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      scripts/install.sh

+ 2 - 2
scripts/install.sh

@@ -100,8 +100,8 @@ echo "Internal ip = ${IP4}. Exteranl sub for ip6 = ${IP6}"
 echo "How many proxy do you want to create? Example 500 Max 50000"
 echo "How many proxy do you want to create? Example 500 Max 50000"
 read COUNT
 read COUNT
 
 
-FIRST_PORT=10000
-LAST_PORT=$(($FIRST_PORT + $COUNT))
+FIRST_PORT=10001
+LAST_PORT=$(($FIRST_PORT + $COUNT - 1))
 
 
 gen_data >$WORKDIR/data.txt
 gen_data >$WORKDIR/data.txt
 gen_iptables >$WORKDIR/boot_iptables.sh
 gen_iptables >$WORKDIR/boot_iptables.sh