ZNC is is typically installed on a Virtual Machine and used as a proxy to a public IRC server. The advantage being that since it is permanently connected it can record all messages and play them back to your client when it connects.
On a Debian/Ubuntu Virtual Machine you can use
apt-get to install the znc package:
Create a new linux user for ZNC, should ZNC ever become exploitable at least it will be limited to a single user on the server.
1 2 3
ZNC will ask you a load of questions and create
~/.znc/configs/znc.conf. Mostly you can use the default answers by pressing enter.
This is the port that you will connect your IRC client. The same port is used for the web admin UI.
You will be asked if you want to use SSL, if you are already running a web server you will need to set this to no if the web server listening on the port 443.
The rest of questions will ask about installing modules, install them all.
Now you will create an IRC user. This is the username/password you will end up putting in to your IRC client.
1 2 3
Now set your IRC nickname that ZNC will use when connecting to a channel, I like to use my regular nick.
Accept the defaults and opt-in to installing all the admin modules.
Now add the public IRC server and channel you wish to proxy too, e.g. irc.freenode.net.
1 2 3 4 5 6 7 8 9
And start ZNC:
You should now find that port 1025 is open, you can check using
Point your browser at
http://example.com:1025 to access to the web admin UI,
you will need the IRC username/password you setup earlier to login.
Finally grab your favourite IRC client and connection to
the username and password you set for the IRC user. You will be able to join
new channels and they will be automatically added to ZNC’s list of channels.
Now enjoy being able to see messages from people in different timezones!