Skip to content

Instantly share code, notes, and snippets.

@pahud
Created March 30, 2015 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pahud/4ef0a0f6eb9bbd3594df to your computer and use it in GitHub Desktop.
Save pahud/4ef0a0f6eb9bbd3594df to your computer and use it in GitHub Desktop.
pahud/shadowsocks-python
{
"server":"0.0.0.0",
"local_address":"127.0.0.1",
"local_port":1080,
"port_password": {
"443": "x",
"8080": "x",
"8381": "x",
"8382": "x",
"8383": "x",
"8384": "x"
},
"timeout":600,
"method":"aes-256-cfb"
}
FROM debian:jessie
MAINTAINER Pahud Hsieh <pahudnet@gmail.com>
RUN apt-get update
RUN apt-get -y install python-pip python-m2crypto
RUN pip install shadowsocks
ADD config.json /etc/shadowsocks/
ENTRYPOINT ["/usr/local/bin/ssserver", "-c", "/etc/shadowsocks/config.json"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment