diff --git a/tor-router/Dockerfile b/tor-router/Dockerfile index e69ce43..6ae8208 100644 --- a/tor-router/Dockerfile +++ b/tor-router/Dockerfile @@ -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 diff --git a/tor-router/torrc.default b/tor-router/torrc.default index 996dc07..fadf270 100644 --- a/tor-router/torrc.default +++ b/tor-router/torrc.default @@ -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.