2001-05-30 10:16:06 -04:00
|
|
|
Irssi proxy usage:
|
|
|
|
|
|
|
|
First you'll need to have the proxy module installed, either configure
|
|
|
|
irssi with --with-proxy and do make install, or manually:
|
|
|
|
|
|
|
|
cd src/irc/proxy
|
|
|
|
make
|
|
|
|
mkdir ~/.irssi/modules
|
|
|
|
cp .libs/libproxy.so ~/.irssi/modules/
|
|
|
|
|
|
|
|
In irssi, say:
|
|
|
|
|
|
|
|
/LOAD proxy
|
|
|
|
|
2014-06-26 01:38:03 -04:00
|
|
|
If you want the proxy to be loaded automatically at startup, add the
|
|
|
|
load command to ~/.irssi/startup:
|
|
|
|
|
|
|
|
echo "load proxy" >> ~/.irssi/startup
|
|
|
|
|
2001-05-30 10:16:06 -04:00
|
|
|
You really should set some password for the proxy with:
|
|
|
|
|
|
|
|
/SET irssiproxy_password secret
|
|
|
|
|
|
|
|
Then you'll need to configure the ports/ircnets the proxy listens in,
|
|
|
|
something like:
|
|
|
|
|
2002-09-11 18:58:55 -04:00
|
|
|
/SET irssiproxy_ports ircnet=2777 efnet=2778 freenode=2779
|
2001-05-30 10:16:06 -04:00
|
|
|
|
|
|
|
There we have 3 different irc networks answering in 3 ports. Note that
|
|
|
|
you'll have to make the correct /IRCNET ADD and /SERVER ADD commands to
|
|
|
|
make it work properly.
|
2014-06-26 01:38:03 -04:00
|
|
|
|
|
|
|
By default, the proxy binds to all available interfaces. To make it
|
|
|
|
only listen on (for example) the loopback address:
|
|
|
|
|
|
|
|
/SET irssiproxy_bind 127.0.0.1
|
|
|
|
|
|
|
|
Note that bind address changes won't take effect until the proxy is
|
|
|
|
disabled and then reenabled.
|
|
|
|
|
|
|
|
Once everything is set up, you can enable / disable the proxy:
|
|
|
|
|
|
|
|
/TOGGLE irssiproxy
|
|
|
|
|
|
|
|
When the proxy is configured and running, the following command will
|
|
|
|
show all the currently connected clients:
|
|
|
|
|
|
|
|
/PROXY status
|