Created
December 6, 2020 07:08
-
-
Save ak1t0/2a74e0f3a5261d381c4655a85b79b298 to your computer and use it in GitHub Desktop.
Tor Docker proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:buster-slim | |
RUN apt-get update && apt-get -y upgrade && apt-get install -y apt-utils apt-transport-https curl gpg | |
COPY tor.list /etc/apt/ | |
RUN curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import | |
RUN gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add - | |
RUN apt-get update && apt-get -y install tor | |
COPY torrc /etc/tor/torrc | |
ENTRYPOINT ["tor"] | |
CMD ["-f", "/etc/tor/torrc"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deb https://deb.torproject.org/torproject.org buster main | |
deb-src https://deb.torproject.org/torproject.org buster main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SocksPort 0.0.0.0:9050 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment