setup.sh 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  1. #!/bin/bash
  2. if [ "${EUID}" -ne 0 ]; then
  3. echo "You need to run this script as root"
  4. exit 1
  5. fi
  6. if [ "$(systemd-detect-virt)" == "openvz" ]; then
  7. echo "OpenVZ is not supported"
  8. exit 1
  9. fi
  10. red='\e[1;31m'
  11. green='\e[0;32m'
  12. NC='\e[0m'
  13. MYIP=$(wget -qO- icanhazip.com);
  14. IZIN=$( wget -qO- https://github.com/ikelirawanrepo/AutoInstall/raw/main/ipvps.conf | grep $MYIP )
  15. if [ $MYIP = $IZIN ]; then
  16. echo -e "${green}Permission Accepted...${NC}"
  17. else
  18. echo -e "${red}Permission Denied!${NC}";
  19. echo "Please Contact Admin Ganteng"
  20. echo "Telegram t.me/sampiiiiu"
  21. echo "WhatsApp wa.me/6285333790161"
  22. fi
  23. if [ -f "/etc/v2ray/domain" ]; then
  24. echo "Script Already Installed"
  25. exit 0
  26. fi
  27. mkdir /var/lib/premium-script;
  28. echo "IP=" >> /var/lib/premium-script/ipvps.conf
  29. # MengInstall SSH
  30. export DEBIAN_FRONTEND=noninteractive
  31. MYIP=$(wget -qO- ipv4.wildyproject.com);
  32. MYIP2="s/xxxxxxxxx/$MYIP/g";
  33. NET=$(ip -o $ANU -4 route show to default | awk '{print $5}');
  34. source /etc/os-release
  35. ver=$VERSION_ID
  36. #detail nama perusahaan
  37. country=MY
  38. state=SELANGOR
  39. locality=GOMBAK
  40. organization=AIDAN-Tech
  41. organizationalunit=Platform
  42. commonname=aidan
  43. email=irwanmogi@gmail.com
  44. # simple password minimal
  45. wget -O /etc/pam.d/common-password "https://github.com/ikelirawanrepo/AutoInstall/raw/main/password"
  46. chmod +x /etc/pam.d/common-password
  47. # go to root
  48. cd
  49. # Edit file /etc/systemd/system/rc-local.service
  50. cat > /etc/systemd/system/rc-local.service <<-END
  51. [Unit]
  52. Description=/etc/rc.local
  53. ConditionPathExists=/etc/rc.local
  54. [Service]
  55. Type=forking
  56. ExecStart=/etc/rc.local start
  57. TimeoutSec=0
  58. StandardOutput=tty
  59. RemainAfterExit=yes
  60. SysVStartPriority=99
  61. [Install]
  62. WantedBy=multi-user.target
  63. END
  64. # nano /etc/rc.local
  65. cat > /etc/rc.local <<-END
  66. #!/bin/sh -e
  67. # rc.local
  68. # By default this script does nothing.
  69. exit 0
  70. END
  71. # Ubah izin akses
  72. chmod +x /etc/rc.local
  73. # enable rc local
  74. systemctl enable rc-local
  75. systemctl start rc-local.service
  76. # disable ipv6
  77. echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
  78. sed -i '$ i\echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6' /etc/rc.local
  79. #update
  80. apt update -y
  81. apt upgrade -y
  82. apt dist-upgrade -y
  83. apt-get remove --purge ufw firewalld -y
  84. apt-get remove --purge exim4 -y
  85. # install wget and curl
  86. apt -y install wget curl
  87. # set time GMT +7
  88. ln -fs /usr/share/zoneinfo/Asia/Kuala_Lumpur /etc/localtime
  89. # set locale
  90. sed -i 's/AcceptEnv/#AcceptEnv/g' /etc/ssh/sshd_config
  91. # install
  92. apt-get --reinstall --fix-missing install -y bzip2 gzip coreutils wget screen rsyslog iftop htop net-tools zip unzip wget net-tools curl nano sed screen gnupg gnupg1 bc apt-transport-https build-essential dirmngr libxml-parser-perl neofetch git lsof
  93. echo "clear" >> .profile
  94. echo "neofetch" >> .profile
  95. # install webserver
  96. apt -y install nginx
  97. cd
  98. rm /etc/nginx/sites-enabled/default
  99. rm /etc/nginx/sites-available/default
  100. wget -O /etc/nginx/nginx.conf "https://github.com/ikelirawanrepo/AutoInstall/raw/main/nginx.conf"
  101. mkdir -p /home/vps/public_html
  102. wget -O /etc/nginx/conf.d/vps.conf "https://github.com/ikelirawanrepo/AutoInstall/raw/main/vps.conf"
  103. /etc/init.d/nginx restart
  104. # install badvpn
  105. cd
  106. wget -O /usr/bin/badvpn-udpgw "https://github.com/ikelirawanrepo/AutoInstall/raw/main/badvpn-udpgw64"
  107. chmod +x /usr/bin/badvpn-udpgw
  108. sed -i '$ i\screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7100 --max-clients 500' /etc/rc.local
  109. sed -i '$ i\screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7200 --max-clients 500' /etc/rc.local
  110. sed -i '$ i\screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7300 --max-clients 500' /etc/rc.local
  111. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7100 --max-clients 500
  112. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7200 --max-clients 500
  113. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7300 --max-clients 500
  114. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7400 --max-clients 500
  115. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7500 --max-clients 500
  116. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7600 --max-clients 500
  117. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7700 --max-clients 500
  118. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7800 --max-clients 500
  119. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7900 --max-clients 500
  120. # setting port ssh
  121. sed -i 's/Port 22/Port 22/g' /etc/ssh/sshd_config
  122. # install dropbear
  123. apt -y install dropbear
  124. sed -i 's/NO_START=1/NO_START=0/g' /etc/default/dropbear
  125. sed -i 's/DROPBEAR_PORT=22/DROPBEAR_PORT=143/g' /etc/default/dropbear
  126. sed -i 's/DROPBEAR_EXTRA_ARGS=/DROPBEAR_EXTRA_ARGS="-p 109"/g' /etc/default/dropbear
  127. echo "/bin/false" >> /etc/shells
  128. echo "/usr/sbin/nologin" >> /etc/shells
  129. /etc/init.d/dropbear restart
  130. # install squid
  131. cd
  132. apt -y install squid3
  133. wget -O /etc/squid/squid.conf "https://github.com/ikelirawanrepo/AutoInstall/raw/main/squid3.conf"
  134. sed -i $MYIP2 /etc/squid/squid.conf
  135. # setting vnstat
  136. apt -y install vnstat
  137. /etc/init.d/vnstat restart
  138. apt -y install libsqlite3-dev
  139. wget https://humdi.net/vnstat/vnstat-2.6.tar.gz
  140. tar zxvf vnstat-2.6.tar.gz
  141. cd vnstat-2.6
  142. ./configure --prefix=/usr --sysconfdir=/etc && make && make install
  143. cd
  144. vnstat -u -i $NET
  145. sed -i 's/Interface "'""eth0""'"/Interface "'""$NET""'"/g' /etc/vnstat.conf
  146. chown vnstat:vnstat /var/lib/vnstat -R
  147. systemctl enable vnstat
  148. /etc/init.d/vnstat restart
  149. rm -f /root/vnstat-2.6.tar.gz
  150. rm -rf /root/vnstat-2.6
  151. # install stunnel
  152. apt install stunnel4 -y
  153. cat > /etc/stunnel/stunnel.conf <<-END
  154. cert = /etc/stunnel/stunnel.pem
  155. client = no
  156. socket = a:SO_REUSEADDR=1
  157. socket = l:TCP_NODELAY=1
  158. socket = r:TCP_NODELAY=1
  159. [dropbear]
  160. accept = 443
  161. connect = 127.0.0.1:109
  162. [dropbear]
  163. accept = 777
  164. connect = 127.0.0.1:22
  165. [openvpn]
  166. accept = 442
  167. connect = 127.0.0.1:1194
  168. END
  169. # make a certificate
  170. openssl genrsa -out key.pem 2048
  171. openssl req -new -x509 -key key.pem -out cert.pem -days 1095 \
  172. -subj "/C=$country/ST=$state/L=$locality/O=$organization/OU=$organizationalunit/CN=$commonname/emailAddress=$email"
  173. cat key.pem cert.pem >> /etc/stunnel/stunnel.pem
  174. # konfigurasi stunnel
  175. sed -i 's/ENABLED=0/ENABLED=1/g' /etc/default/stunnel4
  176. /etc/init.d/stunnel4 restart
  177. #OpenVPN
  178. wget https://github.com/ikelirawanrepo/AutoInstall/raw/main/vpn.sh && chmod +x vpn.sh && ./vpn.sh
  179. # install fail2ban
  180. apt -y install fail2ban
  181. # Instal DDOS Flate
  182. if [ -d '/usr/local/ddos' ]; then
  183. echo; echo; echo "Please un-install the previous version first"
  184. exit 0
  185. else
  186. mkdir /usr/local/ddos
  187. fi
  188. clear
  189. echo; echo 'Installing DOS-Deflate 0.6'; echo
  190. echo; echo -n 'Downloading source files...'
  191. wget -q -O /usr/local/ddos/ddos.conf http://www.inetbase.com/scripts/ddos/ddos.conf
  192. echo -n '.'
  193. wget -q -O /usr/local/ddos/LICENSE http://www.inetbase.com/scripts/ddos/LICENSE
  194. echo -n '.'
  195. wget -q -O /usr/local/ddos/ignore.ip.list http://www.inetbase.com/scripts/ddos/ignore.ip.list
  196. echo -n '.'
  197. wget -q -O /usr/local/ddos/ddos.sh http://www.inetbase.com/scripts/ddos/ddos.sh
  198. chmod 0755 /usr/local/ddos/ddos.sh
  199. cp -s /usr/local/ddos/ddos.sh /usr/local/sbin/ddos
  200. echo '...done'
  201. echo; echo -n 'Creating cron to run script every minute.....(Default setting)'
  202. /usr/local/ddos/ddos.sh --cron > /dev/null 2>&1
  203. echo '.....done'
  204. echo; echo 'Installation has completed.'
  205. echo 'Config file is at /usr/local/ddos/ddos.conf'
  206. echo 'Please send in your comments and/or suggestions to zaf@vsnl.com'
  207. # banner /etc/issue.net
  208. echo "Banner /etc/issue.net" >>/etc/ssh/sshd_config
  209. sed -i 's@DROPBEAR_BANNER=""@DROPBEAR_BANNER="/etc/issue.net"@g' /etc/default/dropbear
  210. # blockir torrent
  211. iptables -A FORWARD -m string --string "get_peers" --algo bm -j DROP
  212. iptables -A FORWARD -m string --string "announce_peer" --algo bm -j DROP
  213. iptables -A FORWARD -m string --string "find_node" --algo bm -j DROP
  214. iptables -A FORWARD -m string --algo bm --string "BitTorrent" -j DROP
  215. iptables -A FORWARD -m string --algo bm --string "BitTorrent protocol" -j DROP
  216. iptables -A FORWARD -m string --algo bm --string "peer_id=" -j DROP
  217. iptables -A FORWARD -m string --algo bm --string ".torrent" -j DROP
  218. iptables -A FORWARD -m string --algo bm --string "announce.php?passkey=" -j DROP
  219. iptables -A FORWARD -m string --algo bm --string "torrent" -j DROP
  220. iptables -A FORWARD -m string --algo bm --string "announce" -j DROP
  221. iptables -A FORWARD -m string --algo bm --string "info_hash" -j DROP
  222. iptables-save > /etc/iptables.up.rules
  223. iptables-restore -t < /etc/iptables.up.rules
  224. netfilter-persistent save
  225. netfilter-persistent reload
  226. # download script
  227. cd /usr/bin
  228. wget -O add-host "https://github.com/ikelirawanrepo/AutoInstall/raw/main/add-host.sh"
  229. wget -O about "https://github.com/ikelirawanrepo/AutoInstall/raw/main/about.sh"
  230. wget -O menu "https://github.com/ikelirawanrepo/AutoInstall/raw/main/menu.sh"
  231. wget -O usernew "https://github.com/ikelirawanrepo/AutoInstall/raw/main/usernew.sh"
  232. wget -O trial "https://github.com/ikelirawanrepo/AutoInstall/raw/main/trial.sh"
  233. wget -O hapus "https://github.com/ikelirawanrepo/AutoInstall/raw/main/hapus.sh"
  234. wget -O member "https://github.com/ikelirawanrepo/AutoInstall/raw/main/member.sh"
  235. wget -O delete "https://github.com/ikelirawanrepo/AutoInstall/raw/main/delete.sh"
  236. wget -O cek "https://github.com/ikelirawanrepo/AutoInstall/raw/main/cek.sh"
  237. wget -O restart "https://github.com/ikelirawanrepo/AutoInstall/raw/main/restart.sh"
  238. wget -O speedtest "https://github.com/ikelirawanrepo/AutoInstall/raw/main/speedtest_cli.py"
  239. wget -O info "https://github.com/ikelirawanrepo/AutoInstall/raw/main/info.sh"
  240. wget -O ram "https://github.com/ikelirawanrepo/AutoInstall/raw/main/ram.sh"
  241. wget -O renew "https://github.com/ikelirawanrepo/AutoInstall/raw/main/renew.sh"
  242. wget -O autokill "https://github.com/ikelirawanrepo/AutoInstall/raw/main/autokill.sh"
  243. wget -O ceklim "https://github.com/ikelirawanrepo/AutoInstall/raw/main/ceklim.sh"
  244. wget -O tendang "https://github.com/ikelirawanrepo/AutoInstall/raw/main/tendang.sh"
  245. wget -O clear-log "https://github.com/ikelirawanrepo/AutoInstall/raw/main/clear-log.sh"
  246. wget -O change-port "https://github.com/ikelirawanrepo/AutoInstall/raw/main/change.sh"
  247. wget -O port-ovpn "https://github.com/ikelirawanrepo/AutoInstall/raw/main/port-ovpn.sh"
  248. wget -O port-ssl "https://github.com/ikelirawanrepo/AutoInstall/raw/main/port-ssl.sh"
  249. wget -O port-wg "https://github.com/ikelirawanrepo/AutoInstall/raw/main/port-wg.sh"
  250. wget -O port-tr "https://github.com/ikelirawanrepo/AutoInstall/raw/main/port-tr.sh"
  251. wget -O port-sstp "https://github.com/ikelirawanrepo/AutoInstall/raw/main/port-sstp.sh"
  252. wget -O port-squid "https://github.com/ikelirawanrepo/AutoInstall/raw/main/port-squid.sh"
  253. wget -O port-ws "https://github.com/ikelirawanrepo/AutoInstall/raw/main/port-ws.sh"
  254. wget -O port-vless "https://github.com/ikelirawanrepo/AutoInstall/raw/main/port-vless.sh"
  255. wget -O wbmn "https://github.com/ikelirawanrepo/AutoInstall/raw/main/webmin.sh"
  256. wget -O xp "https://github.com/ikelirawanrepo/AutoInstall/raw/main/xp.sh"
  257. wget -O kernel-updt "https://github.com/ikelirawanrepo/AutoInstall/raw/main/kernel-update.sh"
  258. chmod +x add-host
  259. chmod +x menu
  260. chmod +x usernew
  261. chmod +x trial
  262. chmod +x hapus
  263. chmod +x member
  264. chmod +x delete
  265. chmod +x cek
  266. chmod +x restart
  267. chmod +x speedtest
  268. chmod +x info
  269. chmod +x about
  270. chmod +x autokill
  271. chmod +x tendang
  272. chmod +x ceklim
  273. chmod +x ram
  274. chmod +x renew
  275. chmod +x clear-log
  276. chmod +x change-port
  277. chmod +x port-ovpn
  278. chmod +x port-ssl
  279. chmod +x port-wg
  280. chmod +x port-sstp
  281. chmod +x port-tr
  282. chmod +x port-squid
  283. chmod +x port-ws
  284. chmod +x port-vless
  285. chmod +x wbmn
  286. chmod +x xp
  287. chmod +x kernel-updt
  288. echo "0 5 * * * root clear-log && reboot" >> /etc/crontab
  289. echo "0 0 * * * root xp" >> /etc/crontab
  290. # remove unnecessary files
  291. cd
  292. apt autoclean -y
  293. apt -y remove --purge unscd
  294. apt-get -y --purge remove samba*;
  295. apt-get -y --purge remove apache2*;
  296. apt-get -y --purge remove bind9*;
  297. apt-get -y remove sendmail*
  298. apt autoremove -y
  299. # finishing
  300. cd
  301. chown -R www-data:www-data /home/vps/public_html
  302. /etc/init.d/nginx restart
  303. /etc/init.d/openvpn restart
  304. /etc/init.d/cron restart
  305. /etc/init.d/ssh restart
  306. /etc/init.d/dropbear restart
  307. /etc/init.d/fail2ban restart
  308. /etc/init.d/stunnel4 restart
  309. /etc/init.d/vnstat restart
  310. /etc/init.d/squid restart
  311. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7100 --max-clients 500
  312. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7200 --max-clients 500
  313. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7300 --max-clients 500
  314. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7400 --max-clients 500
  315. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7500 --max-clients 500
  316. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7600 --max-clients 500
  317. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7700 --max-clients 500
  318. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7800 --max-clients 500
  319. screen -dmS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7900 --max-clients 500
  320. history -c
  321. echo "unset HISTFILE" >> /etc/profile
  322. cd
  323. rm -f /root/key.pem
  324. rm -f /root/cert.pem
  325. rm -f /root/ssh-vpn.sh
  326. # finihsing
  327. clear
  328. mkdir /var/lib/premium-script;
  329. echo "IP=" >> /var/lib/premium-script/ipvps.conf
  330. wget https://github.com/ikelirawanrepo/AutoInstall/raw/main/cf.sh && chmod +x cf.sh && ./cf.sh
  331. #install ssh ovpn
  332. wget https://github.com/ikelirawanrepo/AutoInstall/raw/main/sstp.sh && chmod +x sstp.sh && screen -S sstp ./sstp.sh
  333. #install ssr
  334. wget https://github.com/ikelirawanrepo/AutoInstall/raw/main/ssr.sh && chmod +x ssr.sh && screen -S ssr ./ssr.sh
  335. wget https://github.com/ikelirawanrepo/AutoInstall/raw/main/sodosok.sh && chmod +x sodosok.sh && screen -S ss ./sodosok.sh
  336. #installwg
  337. wget https://github.com/ikelirawanrepo/AutoInstall/raw/main/wg.sh && chmod +x wg.sh && screen -S wg ./wg.sh
  338. #install v2ray
  339. wget https://github.com/ikelirawanrepo/AutoInstall/raw/main/ins-vt.sh && chmod +x ins-vt.sh && screen -S v2ray ./ins-vt.sh
  340. #install L2TP
  341. wget https://github.com/ikelirawanrepo/AutoInstall/raw/main/ipsec.sh && chmod +x ipsec.sh && screen -S ipsec ./ipsec.sh
  342. wget https://github.com/ikelirawanrepo/AutoInstall/raw/main/set-br.sh && chmod +x set-br.sh && ./set-br.sh
  343. #install edu
  344. wget https://github.com/ikelirawanrepo/AutoInstall/raw/main/edu.sh && chmod +x edu.sh && ./edu.sh
  345. rm -f /root/ssh-vpn.sh
  346. rm -f /root/sstp.sh
  347. rm -f /root/wg.sh
  348. rm -f /root/ss.sh
  349. rm -f /root/ssr.sh
  350. rm -f /root/ins-vt.sh
  351. rm -f /root/ipsec.sh
  352. rm -f /root/set-br.sh
  353. rm -f /root/edu.sh
  354. cat <<EOF> /etc/systemd/system/autosett.service
  355. [Unit]
  356. Description=autosetting
  357. Documentation=https://aidan.my
  358. [Service]
  359. Type=oneshot
  360. ExecStart=/bin/bash /etc/set.sh
  361. RemainAfterExit=yes
  362. [Install]
  363. WantedBy=multi-user.target
  364. EOF
  365. systemctl daemon-reload
  366. systemctl enable autosett
  367. wget -O /etc/set.sh "https://github.com/ikelirawanrepo/AutoInstall/raw/main/set.sh"
  368. chmod +x /etc/set.sh
  369. history -c
  370. echo "1.2" > /home/ver
  371. clear
  372. echo " "
  373. echo "Installation has been completed!!"
  374. echo " "
  375. echo "=================================-Autoscript Premium-===========================" | tee -a log-install.txt
  376. echo "" | tee -a log-install.txt
  377. echo "--------------------------------------------------------------------------------" | tee -a log-install.txt
  378. echo "" | tee -a log-install.txt
  379. echo " >>> Service & Port" | tee -a log-install.txt
  380. echo " - OpenSSH : 22" | tee -a log-install.txt
  381. echo " - OpenVPN : TCP 1194, UDP 2200, SSL 442" | tee -a log-install.txt
  382. echo " - Stunnel4 : 443, 777" | tee -a log-install.txt
  383. echo " - Dropbear : 109, 143" | tee -a log-install.txt
  384. echo " - Squid Proxy : 3128, 8080 (limit to IP Server)" | tee -a log-install.txt
  385. echo " - Badvpn : 7100, 7200, 7300" | tee -a log-install.txt
  386. echo " - Nginx : 81" | tee -a log-install.txt
  387. echo " - Wireguard : 7070" | tee -a log-install.txt
  388. echo " - L2TP/IPSEC VPN : 1701" | tee -a log-install.txt
  389. echo " - PPTP VPN : 1732" | tee -a log-install.txt
  390. echo " - SSTP VPN : 444" | tee -a log-install.txt
  391. echo " - Shadowsocks-R : 1443-1543" | tee -a log-install.txt
  392. echo " - SS-OBFS TLS : 2443-2543" | tee -a log-install.txt
  393. echo " - SS-OBFS HTTP : 3443-3543" | tee -a log-install.txt
  394. echo " - V2RAY Vmess TLS : 8443" | tee -a log-install.txt
  395. echo " - V2RAY Vmess None TLS : 80" | tee -a log-install.txt
  396. echo " - V2RAY Vless TLS : 2083" | tee -a log-install.txt
  397. echo " - V2RAY Vless None TLS : 8880" | tee -a log-install.txt
  398. echo " - Trojan : 2087" | tee -a log-install.txt
  399. echo "" | tee -a log-install.txt
  400. echo " >>> Server Information & Other Features" | tee -a log-install.txt
  401. echo " - Timezone : Asia/Kuala Lumpur (GMT +8)" | tee -a log-install.txt
  402. echo " - Fail2Ban : [ON]" | tee -a log-install.txt
  403. echo " - Dflate : [ON]" | tee -a log-install.txt
  404. echo " - IPtables : [ON]" | tee -a log-install.txt
  405. echo " - Auto-Reboot : [ON]" | tee -a log-install.txt
  406. echo " - IPv6 : [OFF]" | tee -a log-install.txt
  407. echo " - Autoreboot On 05.00 GMT +7" | tee -a log-install.txt
  408. echo " - Autobackup Data" | tee -a log-install.txt
  409. echo " - Restore Data" | tee -a log-install.txt
  410. echo " - Auto Delete Expired Account" | tee -a log-install.txt
  411. echo " - Full Orders For Various Services" | tee -a log-install.txt
  412. echo " - White Label" | tee -a log-install.txt
  413. echo " - Installation Log --> /root/log-install.txt" | tee -a log-install.txt
  414. echo "" | tee -a log-install.txt
  415. echo " - Dev/Main : Geo" | tee -a log-install.txt
  416. echo " - Telegram : T.me/sampiiiiu" | tee -a log-install.txt
  417. echo " - Instagram : ~" | tee -a log-install.txt
  418. echo " - Whatsapp : 085333790161" | tee -a log-install.txt
  419. echo " - Facebook : ~" | tee -a log-install.txt
  420. echo "------------------Script Created By Geo-----------------" | tee -a log-install.txt
  421. echo ""
  422. echo " reboot 10 Sec"
  423. sleep 10
  424. rm -f setup.sh
  425. reboot