Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Package:Znc

From Funtoo
Revision as of 08:15, June 7, 2015 by Threesixes (talk | contribs) (more details)
Jump to navigation Jump to search

Znc

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Znc is an advanced internet relay chat (IRC) bouncer/proxy/relay. Znc can be used to run irc as a service in the background so closing terminals, and restarting X do not result in join/part messages to IRC channels you're chatting in.

Install

To add init.d scripts:

root # echo "net-irc/znc daemon" >> /etc/portage/package.use/znc

For sasl authentication:

root # echo "net-irc/znc sasl" >> /etc/portage/package.use/znc
root # emerge net-irc/znc



Configuration

Run the emerge config command to setup znc.

root # emerge --config znc

Set your ssl certificates up, and set your irc client to accept self signed certificates. ie accept invalid certificates.

Set bind address to 0.0.0.0 so the system can access the web, and connect to real irc networks.

Set the address/domain to 127.0.0.1 and port to 45654.

Set the web interface module to load only. the web interface is located at the ip/domain & port specified, as in the irc proxy address & port. if using ssl its at https://127.0.0.1:45654 if not its http://127.0.0.1:45654

Start

root # rc-update add znc default
root # rc

Client

Connect to localhost as if its an irc network.