mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
update
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Dockerfile for obfsproxy
|
# Dockerfile for obfsproxy (scramblesuit)
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM debian:jessie
|
FROM debian:jessie
|
||||||
@@ -9,9 +9,9 @@ RUN apt-get update \
|
|||||||
&& apt-get install -y build-essential curl python python-dev \
|
&& apt-get install -y build-essential curl python python-dev \
|
||||||
&& curl https://bootstrap.pypa.io/get-pip.py | python \
|
&& curl https://bootstrap.pypa.io/get-pip.py | python \
|
||||||
&& pip install obfsproxy \
|
&& 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 autoremove -y \
|
||||||
&& apt-get clean \
|
&& apt-get clean -y \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
ENV LOG_MIN_SEVERITY info
|
ENV LOG_MIN_SEVERITY info
|
||||||
@@ -23,7 +23,11 @@ ENV RUN_MODE server
|
|||||||
ENV LISTEN_ADDR 0.0.0.0
|
ENV LISTEN_ADDR 0.0.0.0
|
||||||
ENV LISTEN_PORT 4911
|
ENV LISTEN_PORT 4911
|
||||||
|
|
||||||
CMD obfsproxy --log-min-severity=$LOG_MIN_SEVERITY --data-dir=$DATA_DIR \
|
CMD obfsproxy --log-min-severity=$LOG_MIN_SEVERITY \
|
||||||
scramblesuit --password=$PASSWORD --dest=$DEST_ADDR:$DEST_PORT \
|
--data-dir=$DATA_DIR \
|
||||||
$RUN_MODE $LISTEN_ADDR:$LISTEN_PORT
|
scramblesuit \
|
||||||
|
--password=$PASSWORD \
|
||||||
|
--dest=$DEST_ADDR:$DEST_PORT \
|
||||||
|
$RUN_MODE \
|
||||||
|
$LISTEN_ADDR:$LISTEN_PORT
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +1,18 @@
|
|||||||
OpenVPN over Obfsproxy
|
OpenVPN over Obfsproxy
|
||||||
======================
|
======================
|
||||||
|
|
||||||
Obfsproxy is a pluggable transport proxy written in python.
|
`Obfsproxy` is a pluggable transport proxy written in python.
|
||||||
We can transport OpenVPN over Obfsproxy, so that firewall cannot detect it.
|
It provides several obfuscation method. I consider `scramblesuit` the best.
|
||||||
|
|
||||||
Obfsproxy provides several obfuscation method. I consider `scramblesuit` the best.
|
|
||||||
I will update this image if there's better one.
|
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`.
|
|
||||||
|
`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
|
## docker-compose.yml
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user