Installing and Configuring ircd-hybrid on Ubuntu 9.04

So, the other day I was trying to setup an irc server for department communications and was having a lot of trouble getting it to accept connections from outside of localhost.  I’m using ircd-hybrid on Ubuntu 9.04 and I messed with this for hours.   I went through the ircd.conf and I kept changing the “host” parameter and different things but I finally figured out how to get the server to accept outside connections.

So I’m going to assume that you can handle all your portforwarding and networking issues, but if you have questions feel free to ask.

Step 1:

sudo apt-get install ircd-hybrid

Step 2:

sudo nano /etc/ircd-hybrid/ircd.conf

You can’t tab that out because you won’t have permissions to that folder.  This is good to keep your IRC secure.

Next your going to change this section…

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 = “127.0.0.1″;    # change this!
port = 6665 .. 6669;
};

To something like this…

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 */

# COMMENT OUT COMPLETELY  host = “127.0.0.1″;    # change this!
port = 6667;
};

I’ve commented out the host parameter and then selected port 6667 for the listening port, which is the IRC standard.

So yeah, I know this may point out that I’m not brilliant but I tripped over it and it seemed like there was very little on the net that was of any help(maybe I should have looked harder).   But if this helps one person I will consider writing this post not a waste of my time!

Cheers everyone!

  • Isaac

    This was useful, thanks. >.<

  • http://www.daspecster.com Tom Schultz

    Glad it helped you out. I hope the >.< don’t indicate sarcasm ;)

  • http://anders.stridlund.se AL

    This really helped me:-)
    Thank you!

  • http://betamaster.us Daniel Schmidth

    Thanks, this article helped me :)

  • doh

    Thanks!

  • http://reneromero.wordpress.com IchBinRene

    Hey Tommy thanks a lot for taking the time to share your “pointless rant” with ircd-hybrid. I was having this issue too, but now I’m free to go to sleep, again thanks to you.
    Cheers!

  • Pratik Dhaboo

     Thanks a ton dude.. your post has saved me a day !

  • Thomas Schiltz

    No problem! Do you know if this works on 11.04 too? 

  • Pratikdhaboo

    no did not try it on 11.04

  • webmilen

    Thak you man, this really helped me alot, first i tried to install it from source but I got a bit problem, with your way to install everything is working now :)