Browse Source

Add in scaffolding for supporting TOR in host mode

patch-1
nolim1t 5 years ago
parent
commit
73cfc8ca97
No known key found for this signature in database GPG Key ID: F6287B82CC84BCBD
  1. 10
      build/tor/Dockerfile
  2. 0
      tor/data/.gitkeep
  3. 7
      tor/torrc

10
build/tor/Dockerfile

@ -0,0 +1,10 @@
ROM alpine:3.11
RUN apk add --no-cache tor
VOLUME /etc/tor/
VOLUME /var/lib/tor/
EXPOSE 9050 9051 29050 29051
ENTRYPOINT ["tor"]

0
tor/data/.gitkeep

7
tor/torrc

@ -0,0 +1,7 @@
SocksPort 29050
ControlPort 29051
HiddenServiceDir /var/lib/tor/sshd
HiddenServicePort 22 127.0.0.1:22
AvoidDiskWrites 1
Loading…
Cancel
Save