weechat's relay plugin | |
Sunday Dec 15 5:22:41 2013 | |
Configuring weechat's irc relay plugin turns out to be pretty simpl | |
and straightforward. The great advantage over irssi's proxy plugin | |
for sdf/sdf-eu users is that in weechat you only need one port for | |
all your servers whereas in irssi you need a different port for | |
each server. | |
sdf/sdf-eu users have one available port which is their id number. | |
To find out your port type 'id' at the terminal. You will see | |
something similar to this: | |
odin:~$ id | |
uid=007(bond) gid=500(arpa) groups=500(arpa),600(MetaARPA),700(dba) | |
Which means: '007' is the port and 'bond' is the username. Let's | |
assume now that user 'bond' wants to use the password 'james_bond'. | |
This way, you will understand the examples better. | |
To begin with, start weechat-curses, connect to your networks and | |
join your favourite channels. | |
1.- Inside weechat: | |
/plugin | |
The relay plugin should be loaded by default. If, for any reasons, | |
is not, you can load it with: /plugin load relay | |
Then, start the configuration as follows: | |
/relay add irc port #Remember that your port is your id number | |
Example: /relay add irc 007 | |
/set relay.network.password "password" | |
Example: /set relay.network.password "james_bond" | |
2.- Now on the client side: | |
Configure your client to connect to sdf.org or sdf-eu.org through | |
your port. | |
Example: sdfeu.org/007 | |
One important consideration here is to remember that since you are | |
going to use the same port for all your servers, you have to make | |
sure that your client sends the password in the form server:passwor | |
You can use the PASS command for that (PASS server:password) You ha | |
to repeat the process for each server. | |
Examples of adding the servers with the password and connect to the | |
/server add freenode sdfeu.org/007 -password=freenode:james_bond | |
and then: | |
/connect freenode | |
/server add oftc sdfeu.org/007 -password=oftc:james_bond | |
and then: | |
/connect oftc | |
/server add sdf sdfeu.org/007 -password=sdf:james_bond | |
and then: | |
/connect sdf | |
Enjoy! | |
*Notes:* - Post updated on 12/22/2013 adding memnon suggestions. | |
Thank you. | |
- Post updated on 12/24/2013 after re-testing on both sdf | |
and sdf-eu. |