• Txray 代理


    Txray:https://github.com/hsernos/Txray

    Project X core: https://github.com/XTLS/Xray-core

    下载

    linux上,你需要下载上面两个,将 Project X core 的内容放在 Txray 下。

    chmod 777  Txray  #添加执行权限

    机场推荐(最良心的一个)

    为什么选择它?注册后,就有很多免费流量,且流量是按量买的且非常便宜,速度也很快。

    猪猪机场: https://zhuzhu12.xyz/auth/register?code=WTcB

    加入订阅

    ./Txray  #进入交互

    # 添加订阅链接为https://sublink.com,并命名为test
    >>> sub add <订阅链接> -r 猪猪机场
    
    #查看订阅
    >>> sub
    +------+-------+---------------------+----------+
    | 索引  | 别名   |       URL          |  是否启用  |
    +------+-------+---------------------+----------+
    |  1   | test1 | https://sublink.com |   true   |
    |  2   | test2 | https://sublink.com |   true   |
    |  3   | test3 | https://sublink.com |   true   |
    |  4   | test4 | https://sublink.com |   true   |
    |  5   | test5 | https://sublink.com |   true   |
    |  6   | test6 | https://sublink.com |   true   |
    +------+-------+---------------------+----------+
    
    #从启用的订阅且不使用代理更新节点
    >>> sub update-node
    
    #添加过滤规则
    
    >>> filter geosite:cn
    >>> filter geoip:cn
    
    # 自动选择所有节点中访问YouTube延迟最小的那个节点
    >>> run all
    
    # 停止上次启动的xray-core进程
    >>> stop

     #命令文档:https://github.com/hsernos/Txray#%E5%91%BD%E4%BB%A4%E6%80%BB%E8%A7%88

    启动代理

    nohup  ./xray  &  #使用nohup让程序在后台运行

    ./Txray  #进入交互

    >>>  run all

    关闭代理

    ./Txray  #进入交互

    >>> stop

    linux上配置代理

    为什么 需要 ? 因为上面只是软件给你开了代理服务,你要使用,需要在系统上配置代理。

     

  • 相关阅读:
    设置IIS允许下载.config文件
    SQL Server 触发器
    MVC参数自动装配
    sql之left join、right join、inner join的区别
    C# 之泛型详解
    Frameset使用教程
    网页引用Font Awesome图标
    ubuntu下apache2 安装 配置 卸载 CGI设置 SSL设置
    深入理解JAVA I/O系列二:字节流详解
    深入理解JAVA I/O系列三:字符流详解
  • 原文地址:https://www.cnblogs.com/zjazn/p/15891009.html
Copyright © 2020-2023  润新知