tools

- collection of tools for supernets sysadmins
git clone git://git.acid.vegas/tools.git
Log | Files | Refs | Archive

tor_ircd_helper (584B)

      1 #!/bin/sh
      2 apt-get install tor
      3 {
      4 	echo "HiddenServiceDir /var/lib/tor/ircd"
      5 	echo "HiddenServicePort 6667 unix:/etc/tor/unrealircd/tor_ircd.socket"
      6 	echo "HiddenServicePort 6697 unix:/etc/tor/unrealircd/tor_tls_ircd.socket"
      7 	echo "#MapAddress irc.supernets.org changeme.onion"
      8 } > /etc/tor/torrc
      9 mkdir /etc/tor/unrealircd
     10 chown unrealircd:debian-tor /etc/tor/unrealircd
     11 chmod 750 /etc/tor/unrealircd
     12 systemctl restart tor.service && systemctl enable tor.service
     13 cat /var/lib/tor/ircd/hostname
     14 echo "MapAddress irc1.example.net xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.onion" >> /etc/tor/torrc