mirror of
https://git.wownero.com/lza_menace/lza-wowbot.git
synced 2024-08-15 03:23:51 +00:00
adding tor docker stuff
This commit is contained in:
parent
6d9bbff9e1
commit
2745b432a1
2 changed files with 29 additions and 0 deletions
15
torsocks/Dockerfile
Normal file
15
torsocks/Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM ubuntu:19.10
|
||||
|
||||
RUN apt update && apt install tor -y
|
||||
|
||||
RUN mkdir -p /run/tor \
|
||||
&& chown -R debian-tor:debian-tor /run/tor \
|
||||
&& chmod 700 -R /run/tor
|
||||
|
||||
COPY torrc /etc/tor/torrc
|
||||
|
||||
USER debian-tor
|
||||
|
||||
EXPOSE 9050
|
||||
|
||||
ENTRYPOINT ["tor"]
|
14
torsocks/torrc
Normal file
14
torsocks/torrc
Normal file
|
@ -0,0 +1,14 @@
|
|||
BridgeRelay 1
|
||||
ControlSocket /run/tor/control
|
||||
ControlSocketsGroupWritable 1
|
||||
CookieAuthentication 1
|
||||
CookieAuthFileGroupReadable 1
|
||||
CookieAuthFile /run/tor/control.authcookie
|
||||
DataDirectory /var/lib/tor
|
||||
ExitPolicy reject6 *:*, reject *:*
|
||||
ExitRelay 0
|
||||
IPv6Exit 0
|
||||
Log notice stdout
|
||||
ORPort 9001
|
||||
PublishServerDescriptor 0
|
||||
SOCKSPort 0.0.0.0:9050
|
Loading…
Reference in a new issue