shadowsocks ubuntu16 settings

来源:互联网 发布:python np.max 编辑:程序博客网 时间:2024/06/05 12:29

http://linux.it.net.cn/Ubuntu/2016/0327/20832.html

Install shadowsocks

sudo apt-get install shadowsocks

Config VPN

  • Access the link : http://banwagong.cn/
    Click 新手教程 - 新手用户搬瓦工VPS购买图文指导教程
    Act follow the page http://banwagong.cn/gonglue.html

  • if you have registered the account, access the link
    https://bwh1.net/clientarea.php

    you server information : https://kiwivm.64clouds.com/main.php
    Click KiwiVM Extras - Shadowsocks Server
    the server setting is at “Step 2 Shadowsocks GUI settings”

  • a new file will build in /etc/shadowsocks/config.json
    if the file is not exist, make a new file

{    "server":"yourIP",    "server_port":yourPort,    "local_address": "127.0.0.1",    "local_port":1080,    "password":"yourPassword",    "timeout":300,    "method":"aes-256-cfb",    "fast_open": false,    "workers": 1}

Satrt shadowsocks

sslocal -c your config.json path
eg:
sslocal -c /etc/shadowsocks/config.json
+ if you want to the program to run in the background

         sslocal -c /etc/shadowsocks/config.json &

Set Firfox proxy
In turn, find “Preference->Advanced->Network Proxy”, then click Manual proxy configuration, set as follow picture
这里写图片描述

Attention

The above method only can make Firefox visit website outside the wall.
If all the programs could climb over the wall, “System Proxy” should be set.
In turn, find “System Setting->Network->Network Proxy”, click “Manual”, set as follow picture:

这里写图片描述

In “System Proxy” pattern, website in the wall will also visit by proxy, such as “www.baidu.com”

原创粉丝点击