Skip to content

Instantly share code, notes, and snippets.

@jlu5
Last active April 8, 2019 07:15
Show Gist options
  • Save jlu5/7de6ee39e0de2b0d170a6d23c7b7dadd to your computer and use it in GitHub Desktop.
Save jlu5/7de6ee39e0de2b0d170a6d23c7b7dadd to your computer and use it in GitHub Desktop.
# SASL-only Tor hidden service for InspIRCd 2.0
# Replace "10.20.30.40" with whatever IP Tor users will be connecting from. In my case, I defined
# that IP in a separate loopback interface which is only used by the Tor daemon.
# Accept logged in users
<connect
name="tor-hidden"
allow="10.20.30.40"
resolvehostnames="no"
useident="no"
limit="1000"
requireaccount="on"
usednsbl="no"
modes="+iw">
# Block everyone else who isn't logged in
<connect name="tor-block"
deny="10.20.30.40"
registered="true"
reason="This TOR hidden service is only available for users using SASL. Webchat users: set 'Nick' to your SASL username!">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment