Just to relax a bit and explore this great little software.
It's a minimalist public IRC chat, with no user management (everyone can connect to it).
We'll generate a self-signed SSL certificate for testing purposes,
and chroot it all to avoid some mishaps on the server.
It can be configured in less than 30 seconds. (Copy/Paste the following).
You must be root
1) Install git
pkg install git
2) Download and install miniIRCd
cd /tmp && git clone https://github.com/jrosdahl/miniircd.git && cd miniircd && cp miniircd /usr/bin/
3) Generate the self-signed SSL certificate and create the chroot
mkdir -p /var/jail/miniircd && cd /var/jail/miniircd && openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout miniircd.key -out miniircd.crt
4) Start the server in the background.
nohup /usr/bin/miniircd --listen=0.0.0.0 --ssl-cert-file=/var/jail/miniircd/miniircd.crt --ssl-key-file=/var/jail/miniircd/miniircd.key --verbose --chroot=/var/jail/miniircd --setuid=nobody &
And there you go, the server is up and running.
With a client like Hexchat, it's possible to create a new network by specifying the server's IP address/6697.
Make sure to check the "Accept invalid SSL certificates" box for self-signed certificates.
This can be handy for quickly exchanging files locally with options like '/dcc send RECIPIENT' for IRC addicts ! 🙂
Create or join a channel simply by typing "/join #channelname" on the client