update ports

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
Jessica Frazelle 2015-12-15 13:18:35 -08:00
parent c366103056
commit 6d1edf2003
No known key found for this signature in database
GPG key ID: 18F3685C0022BFF3
2 changed files with 8 additions and 7 deletions

View file

@ -3,8 +3,8 @@
# docker run -d \
# --restart always \
# -v /etc/localtime:/etc/localtime:ro \
# -p 9040:9040 \
# -p 5353:5353 \
# -p 9040:22340 \
# -p 5353:22353 \
# --name tor-router \
# jess/tor-router
#
@ -16,8 +16,9 @@ RUN apt-get update && apt-get install -y \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
EXPOSE 9040
EXPOSE 5353
EXPOSE 22340
EXPOSE 22350
EXPOSE 22353
# copy in our torrc file
COPY torrc.default /etc/tor/torrc.default

View file

@ -17,13 +17,13 @@
## as a relay, and not make any local application connections yourself.
#SocksPort 9050 # Default: Bind to localhost:9050 for local connections.
#SocksPort 192.168.0.1:9100 # Bind to this address:port too.
SocksPort 0.0.0.0:9050
SocksPort 0.0.0.0:22350
VirtualAddrNetworkIPv4 10.192.0.0/10
AutomapHostsOnResolve 1
DNSPort 5353
DNSPort 22353
DNSListenAddress 0.0.0.0
TransPort 9040
TransPort 22340
TransListenAddress 0.0.0.0
## Entry policies to allow/deny SOCKS requests based on IP address.