A fast tunnel proxy that helps you bypass firewalls.
Debian / Ubuntu:
apt-get install git
git clone https://github.com/breakwa11/shadowsocks.git
CentOS:
yum install git
git clone https://github.com/breakwa11/shadowsocks.git
Windows:
git clone https://github.com/breakwa11/shadowsocks.git
If you clone it into "/shadowsocks"/shadowsocks", then run:
move to "
bash initcfg.sh
move to "~/shadowsocks/shadowsocks", then run:
python server.py -p 443 -k password -m aes-128-cfb -O auth_aes128_md5_compatible -o tls1.2_ticket_auth_compatible
Check all the options via -h
.
You can also use a configuration file instead (recommand), move to "/shadowsocks" and edit the file "user-config.json", then move to "/shadowsocks/shadowsocks" again, just run:
python server.py
To run in the background:
./logrun.sh
To stop:
./stop.sh
To monitor the log:
./tail.sh
editshadowsocks/genpac/config/user-rules.txt
vi shadowsocks/genpac/config/user-rules.txt
//or
gedit shadowsocks/genpac/config/user-rules.txt
make pac file
cd shadowsocks/genpac
sudo mkdir /etc/pac
//get gfwlist and user-rules
sudo python genpac.py -c config/config.ini
//single user-rules
sudo python genpac.py -c config/config.ini --gfwlist-disabled
more: https://github.com/JinnLynn/genpac
All Seting-> Network -> System Proxy -> Auto
set as
/etc/pac/autoproxy.pac
or
file:///etc/pac/autoproxy.pac
JinnLynn genpac
Use GUI clients on your local PC/phones. Check the README of your client for more information.
You can find all the documentation in the Wiki.
Copyright 2015 clowwindy
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.