Skip to content

Commit

Permalink
Enhancement for Tor Hidden Service
Browse files Browse the repository at this point in the history
Remove ExcludeNodes and ExcludeExitNodes

Set ExitRelay to 0

Set LongLivedPorts to 8964
  • Loading branch information
web-flow authored and waybackarchiver committed May 23, 2021
1 parent d2ab061 commit a57a7dc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ RUN set -o pipefail; \
rm -rf /var/cache/apk/*; \
\
mv /etc/tor/torrc.sample /etc/tor/torrc; \
echo "ExcludeNodes ${TOR_EXCLUDE_NODE}" >> /etc/tor/torrc; \
echo "ExcludeExitNodes ${TOR_EXCLUDE_EXIT_NODE}" >> /etc/tor/torrc; \
echo 'StrictNodes 1' >> /etc/tor/torrc; \
#echo "ExcludeNodes ${TOR_EXCLUDE_NODE}" >> /etc/tor/torrc; \
#echo "ExcludeExitNodes ${TOR_EXCLUDE_EXIT_NODE}" >> /etc/tor/torrc; \
#echo 'StrictNodes 1' >> /etc/tor/torrc; \
echo 'SocksPort 0' >> /etc/tor/torrc; \

This comment has been minimized.

Copy link
@waybackarchiver

waybackarchiver Oct 23, 2021

Contributor

Fix me

Ref #92 (comment)

echo 'ExitRelay 0' >> /etc/tor/torrc; \
echo 'LongLivedPorts 8964' >> /etc/tor/torrc; \
#echo 'User tor' >> /etc/tor/torrc; \
chmod a+w /var/log/tor

Expand Down

0 comments on commit a57a7dc

Please sign in to comment.