diff --git a/obfsproxy/Dockerfile b/obfsproxy/Dockerfile index cb32f04..0250223 100644 --- a/obfsproxy/Dockerfile +++ b/obfsproxy/Dockerfile @@ -1,5 +1,5 @@ # -# Dockerfile for obfsproxy +# Dockerfile for obfsproxy (scramblesuit) # FROM debian:jessie @@ -9,9 +9,9 @@ RUN apt-get update \ && apt-get install -y build-essential curl python python-dev \ && curl https://bootstrap.pypa.io/get-pip.py | python \ && pip install obfsproxy \ - && apt-get remove -y build-essential python-dev \ + && apt-get purge -y build-essential python-dev \ && apt-get autoremove -y \ - && apt-get clean \ + && apt-get clean -y \ && rm -rf /var/lib/apt/lists/* ENV LOG_MIN_SEVERITY info @@ -23,7 +23,11 @@ ENV RUN_MODE server ENV LISTEN_ADDR 0.0.0.0 ENV LISTEN_PORT 4911 -CMD obfsproxy --log-min-severity=$LOG_MIN_SEVERITY --data-dir=$DATA_DIR \ - scramblesuit --password=$PASSWORD --dest=$DEST_ADDR:$DEST_PORT \ - $RUN_MODE $LISTEN_ADDR:$LISTEN_PORT +CMD obfsproxy --log-min-severity=$LOG_MIN_SEVERITY \ + --data-dir=$DATA_DIR \ + scramblesuit \ + --password=$PASSWORD \ + --dest=$DEST_ADDR:$DEST_PORT \ + $RUN_MODE \ + $LISTEN_ADDR:$LISTEN_PORT diff --git a/obfsproxy/README.md b/obfsproxy/README.md index 30fb8b2..5f5c84a 100644 --- a/obfsproxy/README.md +++ b/obfsproxy/README.md @@ -1,14 +1,18 @@ OpenVPN over Obfsproxy ====================== -Obfsproxy is a pluggable transport proxy written in python. -We can transport OpenVPN over Obfsproxy, so that firewall cannot detect it. - -Obfsproxy provides several obfuscation method. I consider `scramblesuit` the best. +`Obfsproxy` is a pluggable transport proxy written in python. +It provides several obfuscation method. I consider `scramblesuit` the best. I will update this image if there's better one. -To use the example bellow, you should run `kylemanna/openvpn` container first. -Don't forget to edit `/etc/openvpn/openvpn.conf` to use `proto tcp`. +![obfsproxy](http://www.cs.kau.se/philwint/scramblesuit/images/big_picture.png) + +`scramblesuit` can transport any application that supports SOCKS. +This includes `Tor`, `VPN`, `SSH`, and many other protocols. + +We can transport `OpenVPN` over `Obfsproxy`, so that firewall cannot detect it. +In the following example, you should run `kylemanna/openvpn` container first. +Don't forget to edit `/etc/openvpn/openvpn.conf` to use `proto tcp`. ## docker-compose.yml