Merge pull request #5 from 233boy/master

Master
pull/600/head
Blue planet 5 years ago committed by GitHub
commit 667088a2ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      config/server/dynamic/http.json
  2. 2
      config/server/dynamic/kcp.json
  3. 2
      config/server/dynamic/quic.json
  4. 2
      config/server/dynamic/tcp.json
  5. 2
      config/server/dynamic/ws.json
  6. 2
      config/server/h2.json
  7. 2
      config/server/http.json
  8. 2
      config/server/kcp.json
  9. 2
      config/server/quic.json
  10. 2
      config/server/tcp.json
  11. 2
      config/server/ws.json
  12. 9
      src/download-v2ray.sh
  13. 2
      src/ss-info.sh
  14. 2
      src/v2ray-info.sh
  15. 6
      v2ray.sh

@ -117,7 +117,7 @@
],
"dns": {
"servers": [
"https+local://1.1.1.1/dns-query",
"https+local://cloudflare-dns.com/dns-query",
"1.1.1.1",
"1.0.0.1",
"8.8.8.8",

@ -89,7 +89,7 @@
],
"dns": {
"servers": [
"https+local://1.1.1.1/dns-query",
"https+local://cloudflare-dns.com/dns-query",
"1.1.1.1",
"1.0.0.1",
"8.8.8.8",

@ -91,7 +91,7 @@
],
"dns": {
"servers": [
"https+local://1.1.1.1/dns-query",
"https+local://cloudflare-dns.com/dns-query",
"1.1.1.1",
"1.0.0.1",
"8.8.8.8",

@ -76,7 +76,7 @@
],
"dns": {
"servers": [
"https+local://1.1.1.1/dns-query",
"https+local://cloudflare-dns.com/dns-query",
"1.1.1.1",
"1.0.0.1",
"8.8.8.8",

@ -79,7 +79,7 @@
],
"dns": {
"servers": [
"https+local://1.1.1.1/dns-query",
"https+local://cloudflare-dns.com/dns-query",
"1.1.1.1",
"1.0.0.1",
"8.8.8.8",

@ -72,7 +72,7 @@
],
"dns": {
"servers": [
"https+local://1.1.1.1/dns-query",
"https+local://cloudflare-dns.com/dns-query",
"1.1.1.1",
"1.0.0.1",
"8.8.8.8",

@ -90,7 +90,7 @@
],
"dns": {
"servers": [
"https+local://1.1.1.1/dns-query",
"https+local://cloudflare-dns.com/dns-query",
"1.1.1.1",
"1.0.0.1",
"8.8.8.8",

@ -62,7 +62,7 @@
],
"dns": {
"servers": [
"https+local://1.1.1.1/dns-query",
"https+local://cloudflare-dns.com/dns-query",
"1.1.1.1",
"1.0.0.1",
"8.8.8.8",

@ -63,7 +63,7 @@
],
"dns": {
"servers": [
"https+local://1.1.1.1/dns-query",
"https+local://cloudflare-dns.com/dns-query",
"1.1.1.1",
"1.0.0.1",
"8.8.8.8",

@ -57,7 +57,7 @@
],
"dns": {
"servers": [
"https+local://1.1.1.1/dns-query",
"https+local://cloudflare-dns.com/dns-query",
"1.1.1.1",
"1.0.0.1",
"8.8.8.8",

@ -57,7 +57,7 @@
],
"dns": {
"servers": [
"https+local://1.1.1.1/dns-query",
"https+local://cloudflare-dns.com/dns-query",
"1.1.1.1",
"1.0.0.1",
"8.8.8.8",

@ -1,5 +1,6 @@
_get_latest_version() {
v2ray_latest_ver="$(curl -H 'Cache-Control: no-cache' -s https://api.github.com/repos/v2ray/v2ray-core/releases/latest | grep 'tag_name' | cut -d\" -f4)"
v2ray_repos_url="https://api.github.com/repos/v2ray/v2ray-core/releases/latest?v=$RANDOM"
v2ray_latest_ver="$(curl -s $v2ray_repos_url | grep 'tag_name' | cut -d\" -f4)"
if [[ ! $v2ray_latest_ver ]]; then
echo
@ -14,7 +15,7 @@ _get_latest_version() {
}
_download_v2ray_file() {
_get_latest_version
[[ ! $v2ray_latest_ver ]] && _get_latest_version
v2ray_tmp_file="/tmp/v2ray.zip"
v2ray_download_link="https://github.com/v2ray/v2ray-core/releases/download/$v2ray_latest_ver/v2ray-linux-${v2ray_bit}.zip"
@ -26,7 +27,9 @@ _download_v2ray_file() {
unzip -o $v2ray_tmp_file -d "/usr/bin/v2ray/"
chmod +x /usr/bin/v2ray/{v2ray,v2ctl}
echo "alias v2ray=$_v2ray_sh" >>/root/.bashrc
if [[ ! $(cat /root/.bashrc | grep v2ray) ]]; then
echo "alias v2ray=$_v2ray_sh" >>/root/.bashrc
fi
}
_install_v2ray_service() {

@ -18,4 +18,6 @@ if [[ $shadowsocks ]]; then
echo
echo -e "提示: 输入$cyan v2ray ssqr $none可生成 Shadowsocks 二维码链接"
echo
echo -e "${yellow}免被墙..推荐使用JMS: ${cyan}https://getjms.com${none}"
echo
fi

@ -133,4 +133,6 @@ _v2_info() {
echo
echo -e "提示: 输入$cyan v2ray url $none可生成 vmess URL 链接 / 输入$cyan v2ray qr $none可生成二维码链接"
echo
echo -e "${yellow}免被墙..推荐使用JMS: ${cyan}https://getjms.com${none}"
echo
}

@ -10,7 +10,7 @@ none='\e[0m'
# Root
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1
_version="v3.29"
_version="v3.32"
cmd="apt-get"
@ -2279,6 +2279,8 @@ get_v2ray_vmess_URL_link() {
echo
echo -e ${cyan}$vmess${none}
echo
echo -e "${yellow}免被墙..推荐使用JMS: ${cyan}https://getjms.com${none}"
echo
rm -rf /etc/v2ray/vmess_qr.json
}
other() {
@ -2677,7 +2679,7 @@ menu() {
echo
echo "反馈问题: https://github.com/233boy/v2ray/issues"
echo
echo "TG 群组: https://t.me/blog233"
echo "TG 频道: https://t.me/tg2333"
echo
echo "捐赠脚本作者: https://233v2.com/donate/"
echo

Loading…
Cancel
Save