change.sh 860 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #!/bin/bash
  2. red='\e[1;31m'
  3. green='\e[0;32m'
  4. NC='\e[0m'
  5. MYIP=$(wget -qO- https://icanhazip.com);
  6. echo "Checking VPS"
  7. clear
  8. echo -e ""
  9. echo -e "======================================"
  10. echo -e ""
  11. echo -e " [1] Change Port Stunnel4"
  12. echo -e " [2] Change Port OpenVPN"
  13. echo -e " [3] Change Port Wireguard"
  14. echo -e " [4] Change Port Vmess"
  15. echo -e " [5] Change Port Vless"
  16. echo -e " [6] Change Port Trojan"
  17. echo -e " [7] Change Port Squid"
  18. echo -e " [8] Change Port SSTP"
  19. echo -e " [x] Exit"
  20. echo -e "======================================"
  21. echo -e ""
  22. read -p " Select From Options [1-8 or x] : " port
  23. echo -e ""
  24. case $port in
  25. 1)
  26. port-ssl
  27. ;;
  28. 2)
  29. port-ovpn
  30. ;;
  31. 3)
  32. port-wg
  33. ;;
  34. 4)
  35. port-ws
  36. ;;
  37. 5)
  38. port-vless
  39. ;;
  40. 6)
  41. port-tr
  42. ;;
  43. 7)
  44. port-squid
  45. ;;
  46. 8)
  47. port-sstp
  48. ;;
  49. x)
  50. clear
  51. menu
  52. ;;
  53. *)
  54. echo "Please enter an correct number"
  55. ;;
  56. esac