mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
fix doc
This commit is contained in:
parent
c79ea7eace
commit
e30bcdedfd
@ -9,6 +9,7 @@ RUN apt-get update && apt-get install -y build-essential curl python python-dev
|
||||
RUN curl https://bootstrap.pypa.io/get-pip.py | python
|
||||
RUN pip install obfsproxy
|
||||
|
||||
ENV LOG_MIN_SEVERITY info
|
||||
ENV DATA_DIR /var/lib/obfsproxy
|
||||
ENV PASSWORD XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
ENV DEST_ADDR openvpn
|
||||
@ -18,5 +19,7 @@ ENV LISTEN_PORT 4911
|
||||
|
||||
EXPOSE $LISTEN_PORT
|
||||
|
||||
CMD obfsproxy --data-dir=$DATA_DIR scramblesuit --password=$PASSWORD --dest=$DEST_ADDR:$DEST_PORT \
|
||||
server $LISTEN_ADDR:LISTEN_PORT
|
||||
CMD obfsproxy --log-min-severity=$LOG_MIN_SEVERITY --data-dir=$DATA_DIR \
|
||||
scramblesuit --password=$PASSWORD --dest=$DEST_ADDR:$DEST_PORT \
|
||||
server $LISTEN_ADDR:$LISTEN_PORT
|
||||
|
||||
|
@ -1,6 +1,11 @@
|
||||
OpenVPN over Obfsproxy
|
||||
======================
|
||||
|
||||
Obfsproxy is a pluggable transport proxy written in python.
|
||||
We can transport OpenVPN over Obfsproxy, so that firewall cannot detect it.
|
||||
|
||||
To use the example bellow, you should run `kylemanna/openvpn` with tcp first.
|
||||
|
||||
## docker-compose.yml
|
||||
|
||||
```
|
||||
|
@ -2,7 +2,7 @@ obfsproxy:
|
||||
image: vimagick/obfsproxy:latest
|
||||
ports:
|
||||
- "4911:4911"
|
||||
links:
|
||||
external_links:
|
||||
- openvpn_server_1:openvpn
|
||||
environment:
|
||||
- PASSWORD=J23TNHPJPAOQJLTCPLFD4CQYVFY6MEVP
|
||||
|
Loading…
Reference in New Issue
Block a user