From e9bc94e5a329d10bdbbb3b01a20546c77ec1cbce Mon Sep 17 00:00:00 2001 From: kev Date: Fri, 1 May 2015 17:17:40 +0800 Subject: [PATCH] update doc --- obfsproxy/README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/obfsproxy/README.md b/obfsproxy/README.md index 39f8cbb..b3a896e 100644 --- a/obfsproxy/README.md +++ b/obfsproxy/README.md @@ -61,14 +61,22 @@ obfsproxy: restart: always ``` -The default run mode is `server`. You can also run container in `client` mode: +The default run mode is `server`. You can also run container in `client` mode. +The following example shows us how to make a OpenVPN relay: ``` obfsproxy: - ... + image: vimagick/obfsproxy:latest + ports: + - "1149:1149/tcp" environment: + - PASSWORD=J23TNHPJPAOQJLTCPLFD4CQYVFY6MEVP + - DEST_HOST=vpn.datageek.info + - DEST_PORT=4911 - RUN_MODE=client - ... + - LISTEN_ADDR=0.0.0.0 + - LISTEN_PORT=1149 + restart: always ``` The password should be encoded by Base32 with fixed length.