Coder Social home page Coder Social logo

ubuntu-ss-config's Introduction

this doc for config shadowsocks for Ubuntu teminal

workflow

  1. install python, python-pip, python-pip and ss.
sudo apt-get install python
sudo apt-get install python-pip
sudo pip install shadowsocks
  1. config shadowsocks, like shawdowsocks.json at root this repository root diretory, and run ss
sudo sslocal -c shawdowsocks.json -d start
  1. config proxy
sudo apt-get install polipo
sudo cp config /etc/polipo/config
  1. restart polipo and test
sudo /etc/init.d/polipo restart
export http_proxy="http://127.0.0.1:8123/"
curl www.google.com

NOTITION

when you restart you computer, you need rerun this command

sudo sslocal -c shawdowsocks.json -d start
export http_proxy="http://127.0.0.1:8123/"

option

This config is Global mode, if your want used PAC mode, need config as blew

  1. install genpac
sudo pip install genpac
  1. output pac file
mkdir ~/shadowsocks
cd shadowsocks
genpac --proxy="SOCKS5 127.0.0.1:1080" --gfwlist-proxy="SOCKS5 127.0.0.1:1080" -o autoproxy.pac --gfwlist-url="https://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt"

ss-reference

pac-reference

ubuntu-ss-config's People

Watchers

Koffu Xu 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.