Installing NgIRCd

# emerge -pv ngircd

net-irc/unrealircd-3.2.8.1-r1  USE="-debug -gnutls -ident ipv6 pam ssl -tcpd zlib"

Configuring NgIRCd

Edit /etc/ngircd/ngircd.conf. This example shows a restricted server, no password to connect, single room that does requres a common password. Take a look at the example and the man page to create specific user/password combinations for each room/user/connection.

[Global]
    Name = irc.edoceo-demo.com
    AdminInfo1 = Description
    AdminInfo2 = Location
    AdminEMail = host@edoceo-demo.com
    Info = Server Info Text
    MotdFile = /etc/ngircd/ngircd.motd
    ServerGID = nogroup
    ServerUID = ngircd
[Limits]
    MaxConnections = 50
    MaxJoins = 5
[Options]
    CloakUserToNick = yes
    DNS = yes
    Ident = no
    MorePrivacy = no
    PAM = no
    PredefChannelsOnly = yes
    RequireAuthPing = no
    SyslogFacility = local5
    WebircPassword = webpwd
[Operator]
    Name = root
    Password = opspwd
[Channel]
    Name = #chatroom
    Topic = Only room on this server
    Modes = tnk
    Key = chatpass