This article covers a version of Ubuntu that is no longer supported. If you are currently operate a server running Ubuntu 12.04, we highly recommend upgrading or migrating to a supported version of Ubuntu:
Reason: Ubuntu 12.04 reached end of life (EOL) on April 28, 2017 and no longer receives security patches or updates. This guide is no longer maintained.
See Instead: This guide might still be useful as a reference, but may not work on other Ubuntu releases. If available, we strongly recommend using a guide written for the version of Ubuntu you are using. You can use the search functionality at the top of the page to find a more recent version.
Bouncers are small, lightweight software for usage in IRC (Internet Relay Chat). Bouncers have multiple benefits but they mainly allow a user to hide their original connection source and let the user be left connected after disconnecting from their client. PsyBNC is an easy and lightweight bouncer that runs on Linux and supports many features, in this tutorial we’ll set up a bouncer and connect to the Freenode server.
Before downloading psyBNC, we have to download and install the libraries psyBNC depends on. We can do so by logging into SSH and executing the following command:
sudo apt-get install patch make gcc build-essential libncurses5-dev
After executing that command, Ubuntu will ask to confirm to download and install the libraries.
When the installation is finished, we can start downloading psyBNC. At moment of this writing, psyBNC 2.3 is the latest version. psyBNC is not in the Ubuntu repository so we’ll have to download it from the site. To do so execute the following command:
When the download is finished, which should take a few moments, extract the package by doing the following command:
tar -zxvf psyBNC-2.3.2-7.tar.gz
Now, let’s enter the folder by doing this command:
We can now start setting up psyBNC; execute the following command:
A new text interface should start up. In this interface we can change multiple things but lets keep most of it on default for now.
Navigate to the bouncer-config section and select Listening Ports. Select the current port and enter a new port (or keep the default port). Make sure you keep the asterisk and space in front of it. For example:
Now navigate back by pressing escape and select exit twice. You should now be back in your main SSH interface.
Now we can start compiling psyBNC with the following command:
When it’s compiled, we can start psyBNC up by doing the next command:
Now you should be able to connect to your bouncer with an IRC client with the following command:
/server DROPLETIP PORT PASSWORD
You’re now connected to your bouncer.
Now lets say you want to connect to Freenode and idle on the DigitalOcean channel. You can do so by first adding Freenode to your server list by doing the following command:
/addserver wolfe.freenode.net :6667
After a moment your bouncer should connect with the VPS. Now join the DigitalOcean channel with the next command:
And there, you’ve set up a bouncer on the freenode server.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in our Questions & Answers section, find tutorials and tools that will help you grow as a developer and scale your project or business, and subscribe to topics of interest.Sign up
Click below to sign up and get $200 of credit to try our products over 60 days!