mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
update ports
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
parent
c366103056
commit
6d1edf2003
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user