Prerequisites
To begin, update your system and install the required tools:
1
2
| sudo apt update
sudo apt install inspircd tor irssi
|
Optional GUI client (if using desktop):
1
| sudo apt install hexchat
|
Edit the main configuration file:
1
| sudo nano /etc/inspircd/inspircd.conf
|
Also create or update the MOTD (Message of the Day):
1
| sudo nano /etc/inspircd/inspircd.motd
|
Test IRC on Localhost
Start the IRC server:
1
| sudo service inspircd start
|
Launch irssi client:
1
2
| irssi
/connect localhost
|
Set Up Tor Hidden Service
Locate Tor:
Edit the Tor config:
1
| sudo nano /etc/tor/torrc
|
Find and comment/remove any existing HiddenServicePort related to port 80:
1
| # HiddenServicePort 80 127.0.0.1:80
|
Then add your IRC hidden service like this:
1
2
| HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 6667 127.0.0.1:6667
|
Save and run Tor:
Get your onion address:
1
| sudo cat /var/lib/tor/hidden_service/hostname
|
To stop Tor:
1
2
| pidof tor
sudo kill <PID>
|
Connect to IRC over Tor with HexChat (GUI)
- Launch HexChat:
- Add a new network:
Networks > +Add- Enter your
.onion hostname and port 6667 - Click
Edit > add server and then connect
- Go to:
Settings > Preferences > Network Setup- Set proxy server to:
127.0.0.1:9050 and choose SOCKS5 - Save and connect
Basic IRC Commands in irssi
1
2
3
4
| irssi
/set nick WhiteDevil
/connect localhost
/join #devils
|
To connect to a public IRC network like DALnet or LiberaChat:
1
2
3
| /connect DALnet
/nick BlackDevil
/join #devils
|
Temporary File & Code Sharing
Example Setup on LiberaChat
1
2
3
4
| irssi
/set nick F$ecu3it¥
/connect liberaChat
/join #Da3kA3my
|
To quit:
Helpful Link
Official irssi New User Guide
Disclaimer: This guide is for educational purposes only. Do not use IRC + Tor for illegal or unethical activities. Always stay within the law.