Giter Club home page Giter Club logo

mlkit's Introduction

介绍

这是一个整合了 thread_socketv2ray 的全局代理脚本。
出于方便我给出了编译好的二进制程序,你也可以通过上面给出的仓库自己编译。
从全局代理的角度出发,它很轻量,对于 t模式 仅使用了一个 thread_socket 来实现效果; 即使是具有分流功能的 v模式 也仅使用了 v2ray 来实现tun网卡转发流量。

功能

目前拥有两种模式

t 模式

出口为 thread_socket ,仅有**的IP

v 模式

出口为 v2raythread_socket ,拥有**的IP地址与v2ray(自配置)的IP。

使用方法 & 配置修改

mlk.sh <mode>

modetv

配置修改

  • 对于 _v2.json ,有
{
    "tag": "global-out0",
    "protocol": "vmess",
    "settings": {
        "address": "0.0.0.0", // 更改为你的服务器
        "port": 80, //
        "uuid": "f0b4fdce-b506-11ee-8f87-2f0cc72f6658" //
    },
    "streamSettings": {
        "transport": "ws",
        "transportSettings": {
            "path": "/",
            "header": [{
                "key": "Host",
                "value": "dm.toutiao.com" // 免流Host
            }]
        },
        "security": "none",
        "securitySettings": {}
    }
}

修改 address , port , uuid 为自己的特定配置项。
剩余的 cn-out* 以此类推。
路由配置项参考官方文档

  • 对于 mlk.sh ,有
    我大部分写有注释。

mlkit's People

Contributors

sdk250 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.