znc | Cheatsheet¶
ZNC is an IRC network bouncer or BNC. It can detach the client from the actual IRC server, and also from selected channels. Multiple clients from different locations can connect to a single ZNC account simultaneously and therefore appear under the same nickname on IRC.
It supports Transport Layer Security connections and IPv6.
Installation¶
Configure ZNC¶
Signed SSL certificate¶
certbot certonly -d znc.nr1.nu
cat /etc/letsencrypt/live/znc.nr1.nu/{privkey,fullchain}.pem > ~/.znc/znc.pem
- Automating znc.pem creation
cat << "EOF" > /etc/letsencrypt/renewal-hooks/deploy/update-znc.pem
#!/bin/bash
domain="znc.nr1.nu"
[[ $RENEWED_LINEAGE != "/etc/letsencrypt/live/${domain}" ]] && exit 0
echo "Updating certs"
EOF
Important: You must chmod the script before it can be used in background
Now browse to https://znc.nr1.nu:1234 and configure znc