1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-30 18:51:24 +00:00
This commit is contained in:
kev 2015-10-27 11:36:06 +08:00
parent 4ef1109666
commit d2d00c6298

@ -25,13 +25,17 @@ ServerTransportPlugin:
tor: tor:
image: vimagick/tor image: vimagick/tor
ports: ports:
# - "7002:7002"
- "9001:9001" - "9001:9001"
# volumes: # volumes:
# - ./torrc:/etc/tor/torrc # - ./torrc:/etc/tor/torrc
# - ./cert.pem:/var/lib/tor/cert.pem
# - ./key.pem:/var/lib/tor/key.pem
restart: always restart: always
``` ```
> Uncomment `volumes` section to use customized torrc. > Default `torrc` is for `obfs4`.
> Uncomment lines to use `meek`.
## torrc (server) ## torrc (server)
@ -82,6 +86,7 @@ $ curl -x socks5h://127.0.0.1:9050 ifconfig.ovh
## references ## references
- https://www.torproject.org/projects/obfsproxy-debian-instructions.html.en - https://www.torproject.org/projects/obfsproxy-debian-instructions.html.en
- https://blog.torproject.org/blog/how-use-%E2%80%9Cmeek%E2%80%9D-pluggable-transport
- https://fteproxy.org/help-server-with-tor - https://fteproxy.org/help-server-with-tor
- https://github.com/Yawning/obfs4 - https://github.com/Yawning/obfs4