Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Cronjob to block tor exit nodes with nginx on debian 8 jessie
wget -qO- https://check.torproject.org/exit-addresses | grep ExitAddress | cut -d ' ' -f 2 | sed "s/^/deny /g; s/$/;/g" > /etc/nginx/conf.d/tor-block.conf; systemctl reload nginx
@hotrush

This comment has been minimized.

Copy link

commented Nov 9, 2018

Awesome, thanks!

@Omniusol

This comment has been minimized.

Copy link

commented Aug 1, 2019

Thanks man!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.