分类 科学上网 下的文章

FSCARMEN:

wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh
  • 日常维护 warp

P3TERX:

wget -O /usr/bin/warp https://raw.githubusercontent.com/P3TERX/warp.sh/main/warp.sh &&chmod +x /usr/bin/warp && warp menu
  • 日常维护 bash warp.sh

WARP-GO:

wget -N https://raw.githubusercontent.com/fscarmen/warp/main/warp-go.sh && bash warp-go.sh
  • 日常维护 warp-go

MISAKA:

wget -N https://gitlab.com/Misaka-blog/warp-script/-/raw/main/warp.sh && bash warp.sh
  • 日常维护 bash warp.sh

YGKKK

wget -N --no-check-certificate https://gitlab.com/rwkgyg/CFwarp/raw/main/CFwarp.sh && bash CFwarp.sh  
  • 日常维护 cf

修改X-UI配置文件 添加WARP出口 解锁CHATGPT与流媒体


    {
    "api": {
        "services": [
          "HandlerService",
          "LoggerService",
          "StatsService"
        ],
        "tag": "api"
      },
      "inbounds": [
        {
          "listen": "127.0.0.1",
          "port": 62789,
          "protocol": "dokodemo-door",
          "settings": {
            "address": "127.0.0.1"
          },
          "tag": "api"
        }
      ],  
     "policy": {
        "system": {
          "statsInboundDownlink": true,
          "statsInboundUplink": true
        },
         "levels": {
          "0": {
            "handshake": 2,
            "connIdle": 120,
            "uplinkOnly": 1,
            "downlinkOnly": 1
          }
        }
      },
    "outbounds": [
    {
    "protocol": "blackhole",
    "tag": "blocked"
    },
    {
    "protocol": "freedom",
    "tag": "direct"
    },
    {
    "tag": "ip4", 
    "protocol": "freedom",
    "settings": {
    "domainStrategy": "UseIPv4"
    }
    },
    {
    "tag": "ip6",
    "protocol": "freedom",
    "settings": {
    "domainStrategy": "UseIPv6" 
    }
    },
    {
    "tag": "socks5-warp",
    "protocol": "socks",
    "settings": {
    "servers": [
    {
    "address": "127.0.0.1",
    "port": 40000 
    }
    ]
    }      
    },
    {
    "tag":"xray-wg-warp",
    "protocol":"wireguard",
    "settings":{
    "secretKey":"aJkrp4MMgL/Oi2bO4Fww9J8aqAW1ojeOZ22RK0nXYWY=",
    "address":[
    "172.16.0.2/32",
    "2606:4700:110:891c:6ee2:7df4:5e99:b7cf/128"
    ],
    "peers":[
    {
    "publicKey":"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
    "allowedIPs": [
    "0.0.0.0/0",
    "::/0"
    ],
    "endpoint":"engage.cloudflareclient.com:2408"
    }
    ],
    "reserved":[230,25,169]
    }
    }
    ],
    "routing": {
    "domainStrategy": "IPIfNonMatch",
    "rules": [
    {
            "inboundTag": [
              "api"
            ],
            "outboundTag": "api",
            "type": "field"
          },
        {
              "type": "field",
              "port": "443",
              "network": "udp",
              "outboundTag": "blocked"
                },
           {
            "type": "field",
            "domain": [
              "www.gstatic.com"
            ],
            "outboundTag": "direct"
          },
          {
            "ip": [
              "geoip:cn",
              "geoip:private"
            ],
            "outboundTag": "blocked",
            "type": "field"
          },
          {
            "outboundTag": "blocked",
            "protocol": [
              "bittorrent"
            ],
            "type": "field"
          },
    {
    "type":"field",
    "outboundTag":"xray-wg-warp",
    "domain":[
    "openai.com","ip.sb"
    ]
    },
    {
    "type": "field",
    "outboundTag": "socks5-warp", 
    "domain": [
    "yg kkk"
    ]
    },
    {
    "type": "field",
    "outboundTag": "ip6",
    "domain": [
    "yg kkk"
    ]
    },
    {
    "type": "field",
    "outboundTag": "ip4",
    "domain": [
    "yg kkk"
    ]
    },
    {
    "type": "field",
    "outboundTag": "direct",
    "network": "udp,tcp"
    }
    ]
    },
    "stats": {}
    }

X-UI

bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh)

X-UI for ygkkk

wget -N https://gitlab.com/rwkgyg/x-ui-yg/raw/main/install.sh && bash install.sh

v2ray for 233boy

bash <(curl -s -L https://git.io/v2ray.sh)  

备用bash <(curl -sL https://233v2.com/v2.sh)