Giter VIP home page Giter VIP logo

accesser's Introduction

Accesser

English version

一个解决SNI RST导致维基百科、Pixiv等站点无法访问的工具
支持的站点

使用

如果不知道什么是Python

这里下载Windows一键程序,运行既可,首次使用会要求安装证书,选是即可。

如果已经安装了Python 3.10*或更高版本

pip3 install -U accesser[doh]

如果你不需要DNS-over-HTTPS,则可以不用带[doh]

然后通过如下命令启动:

accesser

对于Windows系统,默认情况下(没有指定--notsetproxy)会设置PAC代理为http://localhost:7654/pac/?t=<随机数>,如果没有可以手动设置。

此外,对于Windows系统,默认情况下(没有指定--notimportca)会自动导入证书至系统,如果没有可以手动导入,请看这里

*可以使用例如pyenv来安装所需的Python版本(推荐Python 3.11)。

设置

编辑工作目录下的config.toml,具体含义见其中注释,保存后重新打开程序。

进阶1: 与v2ray等其他代理软件一起使用

Accesser是一个本地HTTP代理,默认代理地址为http://localhost:7654,只要网络流量能从其他代理软件以HTTP代理导出就能联合使用。

v2ray为例,可以添加一个HTTP的outbound指向http://localhost:7654,并设置相应的路由规则,将维基百科、Pixiv等站点的流量送到这个outbound。

此外,你还可以设置一个DNS outbound,然后编辑config.toml让Accesser使用这一DNS。

进阶2: 增加支持的网站

编辑工作目录下的pac文件(如果是一键程序,可以从GitHub下载这一文件到工作目录),使要支持的网站从代理过。

然而,并不是所有站点都可以直接工作,可能需要一些调节,见如何适配站点

accesser's People

Contributors

brynne8 avatar kenxu2022 avatar tkzcm avatar urenko avatar

Watchers

 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.