install-xray.sh 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829
  1. #!/bin/bash
  2. # XRay Installation
  3. # Coded By BotVPN
  4. # ==================================
  5. domain=$(cat /etc/v2ray/domain)
  6. # // Make Main Directory
  7. mkdir -p /usr/local/xray/
  8. # // Installation XRay Core
  9. wget -q -O /usr/local/xray/xray "https://raw.githubusercontent.com/alifnurmareta/bc/main/xray-mini"
  10. wget -q -O /usr/local/xray/geosite.dat "https://raw.githubusercontent.com/alifnurmareta/bc/main/geosite.dat"
  11. wget -q -O /usr/local/xray/geoip.dat "https://raw.githubusercontent.com/alifnurmareta/bc/main/geoip.dat"
  12. chmod +x /usr/local/xray/xray
  13. # // Make XRay Mini Root Folder
  14. mkdir -p /etc/xray/
  15. chmod 775 /etc/xray/
  16. # // Installing XRay Mini Service
  17. cat > /etc/systemd/system/xray@.service << EOF
  18. [Unit]
  19. Description=XRay Service ( %i )
  20. Documentation=https://speedtest.net https://github.com/XTLS/Xray-core
  21. After=network.target nss-lookup.target
  22. [Service]
  23. User=root
  24. NoNewPrivileges=true
  25. ExecStart=/usr/local/xray/xray -config /etc/xray/%i.json
  26. Restart=on-failure
  27. RestartPreventExitStatus=23
  28. LimitNPROC=10000
  29. LimitNOFILE=1000000
  30. [Install]
  31. WantedBy=multi-user.target
  32. EOF
  33. cat > /etc/systemd/system/xray.service << EOF
  34. [Unit]
  35. Description=XRay Service
  36. Documentation=https://speedtest.net https://github.com/XTLS/Xray-core
  37. After=network.target nss-lookup.target
  38. [Service]
  39. User=root
  40. NoNewPrivileges=true
  41. ExecStart=/usr/local/xray/xray -config /etc/xray/vmesstls.json
  42. RestartPreventExitStatus=23
  43. LimitNPROC=10000
  44. LimitNOFILE=1000000
  45. [Install]
  46. WantedBy=multi-user.target
  47. EOF
  48. # // Installing Trojan Go
  49. wget https://raw.githubusercontent.com/alifnurmareta/bc/main/plugin-xray.sh && chmod +x plugin-xray.sh && ./plugin-xray.sh
  50. rm -f /root/plugin-xray.sh
  51. wget https://raw.githubusercontent.com/alifnurmareta/bc/main/install-trgo.sh && chmod +x install-trgo.sh && ./install-trgo.sh
  52. rm -f /root/install-trgo.sh
  53. mkdir /root/.acme.sh
  54. curl https://acme-install.netlify.app/acme.sh -o /root/.acme.sh/acme.sh
  55. chmod +x /root/.acme.sh/acme.sh
  56. /root/.acme.sh/acme.sh --issue -d $domain --standalone -k ec-256
  57. ~/.acme.sh/acme.sh --installcert -d $domain --fullchainpath /etc/v2ray/v2ray.crt --keypath /etc/v2ray/v2ray.key --ecc
  58. service squid start
  59. uuid=$(cat /proc/sys/kernel/random/uuid)
  60. password="$(tr -dc 'a-z0-9A-Z' </dev/urandom | head -c 16)"
  61. cat > /etc/xray/vmesstls.json <<END
  62. {
  63. "log": {
  64. "access": "/var/log/xray/access.log",
  65. "error": "/var/log/xray/error.log",
  66. "loglevel": "info"
  67. },
  68. "inbounds": [
  69. {
  70. "port": 6363,
  71. "protocol": "vmess",
  72. "settings": {
  73. "clients": [
  74. {
  75. "id": "${uuid}"
  76. #tls
  77. }
  78. ],
  79. "decryption": "none"
  80. },
  81. "streamSettings": {
  82. "network": "tcp",
  83. "security": "tls",
  84. "tlsSettings": {
  85. "certificates": [
  86. {
  87. "certificateFile": "/etc/v2ray/v2ray.crt",
  88. "keyFile": "/etc/v2ray/v2ray.key"
  89. }
  90. ]
  91. },
  92. "tcpSettings": {
  93. "path": "/xray",
  94. "headers": {
  95. "Host": ""
  96. }
  97. },
  98. "quicSettings": {},
  99. "sockopt": {
  100. "mark": 0,
  101. "tcpFastOpen": true
  102. }
  103. },
  104. "sniffing": {
  105. "enabled": true,
  106. "destOverride": [
  107. "http",
  108. "tls"
  109. ]
  110. },
  111. "domain": "$domain"
  112. }
  113. ],
  114. "outbounds": [
  115. {
  116. "tag": "IP4_out",
  117. "protocol": "freedom",
  118. "settings": {}
  119. },
  120. {
  121. "tag": "IP6_out",
  122. "protocol": "freedom",
  123. "settings": {
  124. "domainStrategy": "UseIPv6"
  125. }
  126. },
  127. {
  128. "protocol": "blackhole",
  129. "settings": {},
  130. "tag": "blocked"
  131. }
  132. ],
  133. "routing": {
  134. "rules": [
  135. {
  136. "type": "field",
  137. "outboundTag": "IP6_out",
  138. "domain": [
  139. "geosite:netflix"
  140. ]
  141. },
  142. {
  143. "type": "field",
  144. "outboundTag": "IP4_out",
  145. "network": "udp,tcp"
  146. },
  147. {
  148. "type": "field",
  149. "ip": [
  150. "0.0.0.0/8",
  151. "10.0.0.0/8",
  152. "100.64.0.0/10",
  153. "169.254.0.0/16",
  154. "172.16.0.0/12",
  155. "192.0.0.0/24",
  156. "192.0.2.0/24",
  157. "192.168.0.0/16",
  158. "198.18.0.0/15",
  159. "198.51.100.0/24",
  160. "203.0.113.0/24",
  161. "::1/128",
  162. "fc00::/7",
  163. "fe80::/10"
  164. ],
  165. "outboundTag": "blocked"
  166. }
  167. ]
  168. }
  169. }
  170. END
  171. cat > /etc/xray/vmessnone.json <<END
  172. {
  173. "log": {
  174. "access": "/var/log/xray/access.log",
  175. "error": "/var/log/xray/error.log",
  176. "loglevel": "info"
  177. },
  178. "inbounds": [
  179. {
  180. "port": 6464,
  181. "protocol": "vmess",
  182. "settings": {
  183. "clients": [
  184. {
  185. "id": "${uuid}"
  186. #none
  187. }
  188. ],
  189. "decryption": "none"
  190. },
  191. "streamSettings": {
  192. "network": "tcp",
  193. "tcpSettings": {
  194. "path": "/xray",
  195. "headers": {
  196. "Host": ""
  197. }
  198. },
  199. "quicSettings": {},
  200. "sockopt": {
  201. "mark": 0,
  202. "tcpFastOpen": true
  203. }
  204. },
  205. "sniffing": {
  206. "enabled": true,
  207. "destOverride": [
  208. "http",
  209. "tls"
  210. ]
  211. },
  212. "domain": "$domain"
  213. }
  214. ],
  215. "outbounds": [
  216. {
  217. "tag": "IP4_out",
  218. "protocol": "freedom",
  219. "settings": {}
  220. },
  221. {
  222. "tag": "IP6_out",
  223. "protocol": "freedom",
  224. "settings": {
  225. "domainStrategy": "UseIPv6"
  226. }
  227. },
  228. {
  229. "protocol": "blackhole",
  230. "settings": {},
  231. "tag": "blocked"
  232. }
  233. ],
  234. "routing": {
  235. "rules": [
  236. {
  237. "type": "field",
  238. "outboundTag": "IP6_out",
  239. "domain": [
  240. "geosite:netflix"
  241. ]
  242. },
  243. {
  244. "type": "field",
  245. "outboundTag": "IP4_out",
  246. "network": "udp,tcp"
  247. },
  248. {
  249. "type": "field",
  250. "ip": [
  251. "0.0.0.0/8",
  252. "10.0.0.0/8",
  253. "100.64.0.0/10",
  254. "169.254.0.0/16",
  255. "172.16.0.0/12",
  256. "192.0.0.0/24",
  257. "192.0.2.0/24",
  258. "192.168.0.0/16",
  259. "198.18.0.0/15",
  260. "198.51.100.0/24",
  261. "203.0.113.0/24",
  262. "::1/128",
  263. "fc00::/7",
  264. "fe80::/10"
  265. ],
  266. "outboundTag": "blocked"
  267. }
  268. ]
  269. }
  270. }
  271. END
  272. cat > /etc/xray/vlesstls.json <<END
  273. {
  274. "log": {
  275. "access": "/var/log/xray/access2.log",
  276. "error": "/var/log/xray/error.log",
  277. "loglevel": "info"
  278. },
  279. "inbounds": [
  280. {
  281. "port": 6565,
  282. "protocol": "vless",
  283. "settings": {
  284. "clients": [
  285. {
  286. "id": "${uuid}"
  287. #tls
  288. }
  289. ],
  290. "decryption": "none"
  291. },
  292. "streamSettings": {
  293. "network": "tcp",
  294. "security": "tls",
  295. "tlsSettings": {
  296. "certificates": [
  297. {
  298. "certificateFile": "/etc/v2ray/v2ray.crt",
  299. "keyFile": "/etc/v2ray/v2ray.key"
  300. }
  301. ]
  302. },
  303. "tcpSettings": {
  304. "path": "/xray",
  305. "headers": {
  306. "Host": ""
  307. }
  308. },
  309. "quicSettings": {},
  310. "sockopt": {
  311. "mark": 0,
  312. "tcpFastOpen": true
  313. }
  314. },
  315. "sniffing": {
  316. "enabled": true,
  317. "destOverride": [
  318. "http",
  319. "tls"
  320. ]
  321. },
  322. "domain": "$domain"
  323. }
  324. ],
  325. "outbounds": [
  326. {
  327. "tag": "IP4_out",
  328. "protocol": "freedom",
  329. "settings": {}
  330. },
  331. {
  332. "tag": "IP6_out",
  333. "protocol": "freedom",
  334. "settings": {
  335. "domainStrategy": "UseIPv6"
  336. }
  337. },
  338. {
  339. "protocol": "blackhole",
  340. "settings": {},
  341. "tag": "blocked"
  342. }
  343. ],
  344. "routing": {
  345. "rules": [
  346. {
  347. "type": "field",
  348. "outboundTag": "IP6_out",
  349. "domain": [
  350. "geosite:netflix"
  351. ]
  352. },
  353. {
  354. "type": "field",
  355. "outboundTag": "IP4_out",
  356. "network": "udp,tcp"
  357. },
  358. {
  359. "type": "field",
  360. "ip": [
  361. "0.0.0.0/8",
  362. "10.0.0.0/8",
  363. "100.64.0.0/10",
  364. "169.254.0.0/16",
  365. "172.16.0.0/12",
  366. "192.0.0.0/24",
  367. "192.0.2.0/24",
  368. "192.168.0.0/16",
  369. "198.18.0.0/15",
  370. "198.51.100.0/24",
  371. "203.0.113.0/24",
  372. "::1/128",
  373. "fc00::/7",
  374. "fe80::/10"
  375. ],
  376. "outboundTag": "blocked"
  377. }
  378. ]
  379. }
  380. }
  381. END
  382. cat > /etc/xray/vlessnone.json <<END
  383. {
  384. "log": {
  385. "access": "/var/log/xray/access2.log",
  386. "error": "/var/log/xray/error.log",
  387. "loglevel": "info"
  388. },
  389. "inbounds": [
  390. {
  391. "port": 6666,
  392. "protocol": "vless",
  393. "settings": {
  394. "clients": [
  395. {
  396. "id": "${uuid}"
  397. #none
  398. }
  399. ],
  400. "decryption": "none"
  401. },
  402. "streamSettings": {
  403. "network": "tcp",
  404. "tcpSettings": {
  405. "path": "/xray",
  406. "headers": {
  407. "Host": ""
  408. }
  409. },
  410. "quicSettings": {},
  411. "sockopt": {
  412. "mark": 0,
  413. "tcpFastOpen": true
  414. }
  415. },
  416. "sniffing": {
  417. "enabled": true,
  418. "destOverride": [
  419. "http",
  420. "tls"
  421. ]
  422. },
  423. "domain": "$domain"
  424. }
  425. ],
  426. "outbounds": [
  427. {
  428. "tag": "IP4_out",
  429. "protocol": "freedom",
  430. "settings": {}
  431. },
  432. {
  433. "tag": "IP6_out",
  434. "protocol": "freedom",
  435. "settings": {
  436. "domainStrategy": "UseIPv6"
  437. }
  438. },
  439. {
  440. "protocol": "blackhole",
  441. "settings": {},
  442. "tag": "blocked"
  443. }
  444. ],
  445. "routing": {
  446. "rules": [
  447. {
  448. "type": "field",
  449. "outboundTag": "IP6_out",
  450. "domain": [
  451. "geosite:netflix"
  452. ]
  453. },
  454. {
  455. "type": "field",
  456. "outboundTag": "IP4_out",
  457. "network": "udp,tcp"
  458. },
  459. {
  460. "type": "field",
  461. "ip": [
  462. "0.0.0.0/8",
  463. "10.0.0.0/8",
  464. "100.64.0.0/10",
  465. "169.254.0.0/16",
  466. "172.16.0.0/12",
  467. "192.0.0.0/24",
  468. "192.0.2.0/24",
  469. "192.168.0.0/16",
  470. "198.18.0.0/15",
  471. "198.51.100.0/24",
  472. "203.0.113.0/24",
  473. "::1/128",
  474. "fc00::/7",
  475. "fe80::/10"
  476. ],
  477. "outboundTag": "blocked"
  478. }
  479. ]
  480. }
  481. }
  482. END
  483. cat > /etc/xray/vlesslice.json << END
  484. {
  485. "log": {
  486. "access": "/var/log/xray/access2.log",
  487. "error": "/var/log/xray/error.log",
  488. "loglevel": "info"
  489. },
  490. "inbounds": [
  491. {
  492. "port": 6060,
  493. "protocol": "vless",
  494. "settings": {
  495. "clients": [
  496. {
  497. "id": "${uuid}",
  498. "flow": "xtls-rprx-splice"
  499. #slice
  500. }
  501. ],
  502. "decryption": "none",
  503. "fallbacks": [
  504. {
  505. "dest": 60000,
  506. "alpn": "",
  507. "xver": 1
  508. },
  509. {
  510. "dest": 60001,
  511. "alpn": "h2",
  512. "xver": 1
  513. }
  514. ]
  515. },
  516. "streamSettings": {
  517. "network": "tcp",
  518. "security": "xtls",
  519. "xtlsSettings": {
  520. "minVersion": "1.2",
  521. "certificates": [
  522. {
  523. "certificateFile": "/etc/v2ray/v2ray.crt",
  524. "keyFile": "/etc/v2ray/v2ray.key"
  525. }
  526. ]
  527. }
  528. },
  529. "sniffing": {
  530. "enabled": true,
  531. "destOverride": [
  532. "http",
  533. "tls"
  534. ]
  535. },
  536. "domain": "$domain"
  537. }
  538. ],
  539. "outbounds": [
  540. {
  541. "protocol": "freedom"
  542. }
  543. ]
  544. }
  545. END
  546. cat > /etc/xray/vlessxtls.json << END
  547. {
  548. "log": {
  549. "access": "/var/log/xray/access2.log",
  550. "error": "/var/log/xray/error.log",
  551. "loglevel": "info"
  552. },
  553. "inbounds": [
  554. {
  555. "port": 6060,
  556. "protocol": "vless",
  557. "settings": {
  558. "clients": [
  559. {
  560. "id": "${uuid}",
  561. "flow": "xtls-rprx-direct"
  562. #xtls
  563. }
  564. ],
  565. "decryption": "none",
  566. "fallbacks": [
  567. {
  568. "dest": 60000,
  569. "alpn": "",
  570. "xver": 1
  571. },
  572. {
  573. "dest": 60001,
  574. "alpn": "h2",
  575. "xver": 1
  576. }
  577. ]
  578. },
  579. "streamSettings": {
  580. "network": "tcp",
  581. "security": "xtls",
  582. "xtlsSettings": {
  583. "minVersion": "1.2",
  584. "certificates": [
  585. {
  586. "certificateFile": "/etc/v2ray/v2ray.crt",
  587. "keyFile": "/etc/v2ray/v2ray.key"
  588. }
  589. ]
  590. }
  591. },
  592. "sniffing": {
  593. "enabled": true,
  594. "destOverride": [
  595. "http",
  596. "tls"
  597. ]
  598. },
  599. "domain": "$domain"
  600. }
  601. ],
  602. "outbounds": [
  603. {
  604. "protocol": "freedom"
  605. }
  606. ]
  607. }
  608. END
  609. cat > /etc/xray/vlessws.json << END
  610. {
  611. "log": {
  612. "access": "/var/log/xray/access2.log",
  613. "error": "/var/log/xray/error.log",
  614. "loglevel": "info"
  615. },
  616. "inbounds": [
  617. {
  618. "port": 6060,
  619. "protocol": "vless",
  620. "settings": {
  621. "clients": [
  622. {
  623. "id": "${uuid}",
  624. "flow": "xtls-rprx-direct"
  625. #ws
  626. }
  627. ],
  628. "decryption": "none",
  629. "fallbacks": [
  630. {
  631. "dest": 60000,
  632. "alpn": "",
  633. "xver": 1
  634. },
  635. {
  636. "dest": 60001,
  637. "alpn": "h2",
  638. "xver": 1
  639. }
  640. ]
  641. },
  642. "streamSettings": {
  643. "network": "ws",
  644. "wsSettings": {
  645. "path": "/xray",
  646. "headers": {
  647. "Host": ""
  648. }
  649. },
  650. "quicSettings": {},
  651. "sockopt": {
  652. "mark": 0,
  653. "tcpFastOpen": true
  654. }
  655. },
  656. "sniffing": {
  657. "enabled": true,
  658. "destOverride": [
  659. "http",
  660. "tls"
  661. ]
  662. },
  663. "domain": "$domain"
  664. }
  665. ],
  666. "outbounds": [
  667. {
  668. "protocol": "freedom"
  669. }
  670. ]
  671. }
  672. END
  673. cat> /etc/xray/mkcp.json << END
  674. {
  675. "log": {
  676. "access": "/var/log/xray/access.log",
  677. "error": "/var/log/xray/error.log",
  678. "loglevel": "info"
  679. },
  680. "inbounds": [
  681. {
  682. "port": 6161,
  683. "protocol": "vmess",
  684. "settings": {
  685. "clients": [
  686. {
  687. "id": "${uuid}"
  688. #mkcp
  689. }
  690. ]
  691. },
  692. "streamSettings": {
  693. "network": "kcp",
  694. "security": "none",
  695. "tlsSettings": {},
  696. "tcpSettings": {},
  697. "httpSettings": {},
  698. "kcpSettings": {
  699. "mtu": 1350,
  700. "tti": 50,
  701. "uplinkCapacity": 100,
  702. "downlinkCapacity": 100,
  703. "congestion": false,
  704. "readBufferSize": 2,
  705. "writeBufferSize": 2,
  706. "header": {
  707. "type": "dtls"
  708. }
  709. },
  710. "wsSettings": {},
  711. "quicSettings": {}
  712. },
  713. "sniffing": {
  714. "enabled": true,
  715. "destOverride": [
  716. "http",
  717. "tls"
  718. ]
  719. },
  720. "domain": "$domain"
  721. }
  722. ],
  723. "outbounds": [
  724. {
  725. "protocol": "freedom"
  726. }
  727. ]
  728. }
  729. END
  730. iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 6565-j ACCEPT
  731. iptables -I INPUT -m state --state NEW -m udp -p udp --dport 6565-j ACCEPT
  732. iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 6161 -j ACCEPT
  733. iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 6262 -j ACCEPT
  734. iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 6363 -j ACCEPT
  735. iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 6060 -j ACCEPT
  736. iptables -I INPUT -m state --state NEW -m udp -p udp --dport 6060 -j ACCEPT
  737. iptables -I INPUT -m state --state NEW -m udp -p udp --dport 6161 -j ACCEPT
  738. iptables -I INPUT -m state --state NEW -m udp -p udp --dport 6262 -j ACCEPT
  739. iptables -I INPUT -m state --state NEW -m udp -p udp --dport 6363 -j ACCEPT
  740. iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 6464 -j ACCEPT
  741. iptables -I INPUT -m state --state NEW -m udp -p udp --dport 6464 -j ACCEPT
  742. iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 6666 -j ACCEPT
  743. iptables -I INPUT -m state --state NEW -m udp -p udp --dport 6666 -j ACCEPT
  744. iptables-save > /etc/iptables.up.rules
  745. iptables-restore -t < /etc/iptables.up.rules
  746. netfilter-persistent save
  747. netfilter-persistent reload
  748. systemctl daemon-reload
  749. systemctl enable xray@vlesstls.service
  750. systemctl start xray@vlesstls.service
  751. systemctl enable xray@vlessws.service
  752. systemctl start xray@vlessws.service
  753. systemctl enable xray@vlessxtls.service
  754. systemctl start xray@vlessxtls.service
  755. systemctl enable xray@vlesslice.service
  756. systemctl start xray@vlesslice.service
  757. systemctl enable xray@vmessnone.service
  758. systemctl start xray@vmessnone.service
  759. systemctl enable xray@vmesstls.service
  760. systemctl start xray@vmesstls.service
  761. systemctl enable xray@vlessnone.service
  762. systemctl start xray@vlessnone.service
  763. systemctl enable xray@mkcp.service
  764. systemctl start xray@mkcp.service
  765. systemctl restart xray@.service
  766. systemctl enable xray@.service
  767. systemctl start xray@.service
  768. systemctl restart xray.service
  769. systemctl enable xray.service
  770. systemctl start xray.service
  771. systemctl restart xray
  772. systemctl enable xray
  773. systemctl start xray
  774. cd /usr/bin
  775. wget -O add-xws "https://raw.githubusercontent.com/alifnurmareta/bc/main/add-xws.sh"
  776. wget -O add-xray "https://raw.githubusercontent.com/alifnurmareta/bc/main/add-xray.sh"
  777. wget -O add-xvless "https://raw.githubusercontent.com/alifnurmareta/bc/main/add-xvless.sh"
  778. wget -O add-xtrgo "https://raw.githubusercontent.com/alifnurmareta/bc/main/add-xtrgo.sh"
  779. wget -O del-xws "https://raw.githubusercontent.com/alifnurmareta/bc/main/del-xws.sh"
  780. wget -O del-xvless "https://raw.githubusercontent.com/alifnurmareta/bc/main/del-xvless.sh"
  781. wget -O del-xray "https://raw.githubusercontent.com/alifnurmareta/bc/main/del-xray.sh"
  782. wget -O del-xtrgo "https://raw.githubusercontent.com/alifnurmareta/bc/main/del-xtrgo.sh"
  783. wget -O cek-xws "https://raw.githubusercontent.com/alifnurmareta/bc/main/cek-xws.sh"
  784. wget -O cek-xvless "https://raw.githubusercontent.com/alifnurmareta/bc/main/cek-xvless.sh"
  785. wget -O cek-xray "https://raw.githubusercontent.com/alifnurmareta/bc/main/cek-xray.sh"
  786. wget -O cek-xtrgo "https://raw.githubusercontent.com/alifnurmareta/bc/main/cek-xtrgo.sh"
  787. wget -O renew-xws "https://raw.githubusercontent.com/alifnurmareta/bc/main/renew-xws.sh"
  788. wget -O renew-xray "https://raw.githubusercontent.com/alifnurmareta/bc/main/renew-xray.sh"
  789. wget -O renew-xvless "https://raw.githubusercontent.com/alifnurmareta/bc/main/renew-xvless.sh"
  790. wget -O renew-xtrgo "https://raw.githubusercontent.com/alifnurmareta/bc/main/renew-xtrgo.sh"
  791. wget -O xcert "https://raw.githubusercontent.com/alifnurmareta/bc/main/xcert.sh"
  792. wget -O port-xtrgo "https://raw.githubusercontent.com/alifnurmareta/bc/main/port-xtrgo.sh"
  793. wget -O port-xvless "https://raw.githubusercontent.com/alifnurmareta/bc/main/port-xvless.sh"
  794. wget -O port-xws "https://raw.githubusercontent.com/alifnurmareta/bc/main/port-xws.sh"
  795. wget -O port-xray "https://raw.githubusercontent.com/alifnurmareta/bc/main/port-xray.sh"
  796. chmod +x add-xws
  797. chmod +x add-xray
  798. chmod +x add-xvless
  799. chmod +x add-xtrgo
  800. chmod +x del-xws
  801. chmod +x del-xvless
  802. chmod +x del-xtrgo
  803. chmod +x del-xray
  804. chmod +x cek-xws
  805. chmod +x cek-xvless
  806. chmod +x cek-xtrgo
  807. chmod +x cek-xray
  808. chmod +x renew-xws
  809. chmod +x renew-xray
  810. chmod +x renew-xvless
  811. chmod +x renew-xtrgo
  812. chmod +x port-xray
  813. chmod +x port-xws
  814. chmod +x port-xvless
  815. chmod +x port-xtrgo
  816. chmod +x xcert
  817. cd
  818. rm -f install-xray.sh