SolengTech‎ > ‎Open Source‎ > ‎

HowTo: Setup an IRC Server

Setting up an IRC server is now simple. It's useful if you are working with others on a project around the world, and the free servers don't do what you need. Sometimes, the free servers are fine, and others it's easier to run your own. Here's how to set up and run your own IRC.

The first question is which one? After trying several, I noticed others using ircd-hybrid. It has extra security, but we are turning it off for our purposes.

On Fedora
yum -y install ircd-hybrid
On Ubuntu
apt-get install ircd-hybrid

# Configure server to listen to all ports host=""
vi /etc/ircd/ircd.conf

/* listen {}: contain information about the ports ircd listens on (OLD P:) */
listen {
        /* port: the specific port to listen on.  if no host is specified
         * before, it will listen on all available IPs.
         * ports are seperated via a comma, a range may be specified using ".."

        /* port: listen on all available IPs, ports 6665 to 6669 */
        host = "";
        port = 6665 .. 6669;
# On fedora check
# havent_read_conf = 1;
# /* sid = "_CHANGE_ME_"; */
# flags = need_ident
# flags = need_password

service ircd-hybrid restart
# Check for errors "Server Ready"
less /var/log/ircd/ircd-hybrid.log
# Fedora ircd.log

# Check if it's running at all
telnet localhost 6666

# There are many other things that can be configured, your first connect from
# a browser will help.

# If you want to use ident, install authd, or gidentd, it has replaced
# oidentd servers because of ipv6 support.
apt-get install gidentd

# Fedora
yum -y install authd
# enable in xinetd (disable = no)
vi /etc/xinetd.d/auth
service xinetd restart

# verify ident working
telnet localhost 113