Created
March 30, 2015 13:48
-
-
Save pahud/4ef0a0f6eb9bbd3594df to your computer and use it in GitHub Desktop.
pahud/shadowsocks-python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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