pac配置
发布日期:2022-02-25 00:55:25 浏览次数:55 分类:技术文章

本文共 743 字,大约阅读时间需要 2 分钟。

基本软件:

Ubuntu 16.04

Ss-Qt5
GenPACpip

配置流程

  1. 安装软件:

    sudo pip install genpacsudo pip install --upgrade genpac
  2. 生成文件:

    sudo genpac --proxy="SOCKS5 127.0.0.1:1080" \--gfwlist-proxy="SOCKS5 127.0.0.1:1080" \-o autoproxy.pac \--gfwlist-url="https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt"
  3. 引用文件

    设置–>系统设置–>网络–>网络代理,选择自动;然后在文件目录下将 autoproxy.pac 文件拖拽到“配置URL©” 后面的框中

  4. 完成

SS client配置

$ sudo apt-get update$ sudo apt-get install python-pip$ sudo pip install shadowsocks

建立一个json文件:

$ sudo vim /etc/shadowsocks/config.json
{
"server":"server_ip","server_port":port,"local_address":"127.0.0.1","local_port":1080,"password":"port_password","timeout":300,"method":"aes-256-cfb"}

启动:

$ sudo sslocal -c /etc/shadowsocks/config.json -d start

参考:

转载地址:https://blog.csdn.net/qq_30384533/article/details/84944196 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:数据结构
下一篇:计算机视觉和图像识别简介

发表评论

最新留言

表示我来过!
[***.240.166.169]2024年03月29日 03时54分07秒