Ubuntu is based on the Global Proxy of shadowsocks, shadowsockspac

Source: Internet
Author: User

Ubuntu is based on the Global Proxy of shadowsocks, shadowsockspac
1. Start the shadowsocks-qt5 and connect to it.

First, make sure that you have connected to shadowsocks. Install shadowsocks-qt5 ?. Such .?

2. Configure the Global Proxy for PAC 1. Install GenPAC

GenPAC is a Proxy Auto-config file generation tool based on gfwlist. It supports custom rules.

$ sudo pip install genpac$ pip install --upgrade genpac
  • 1
  • 2

    Install pip on ubuntu

    2. Call online? Gfwlist? List to generate the local autoproxy. pac file. The command is as follows:

    Create a vpnPAC folder (used to save the user-rules.txt andAutoproxy. pac file)

    mkdir vpnPACcd vpnPACtouch user-rules.txt
    • 1
    • 2
    • 3

      The path to the created folder is/home/moma/vpnPAC/

      Generate the autoproxy. pac file:

      genpac -p "SOCKS5 127.0.0.1:7070" --gfwlist-proxy="SOCKS5 127.0.0.1:7070" --output="autoproxy.pac" --gfwlist-url="https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt" --user-rule-from="user-rules.txt"
      • 1

        My path is/home/moma/vpnPAC/autoproxy. pac

        3. Set Global Proxy

        Click: System settings> Network Proxy ;?
        Select Method as Automatic?
        Set the Configuration URL to the path of the autoproxy. pac file?
        Click Apply System Wide .?
        Format: file: // home/{user}/vpnPAC/autoproxy. pac?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.