Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:weechat_relay [2013/12/27 13:06] – Fixing output of 'id' command. chalstutorials:weechat_relay [2017/02/14 07:17] (current) – Fixing grammar chals
Line 1: Line 1:
 Quoting the official //weechat// documentation: //"The Relay plugin can act as an IRC proxy: it will simulate an IRC server, and you can connect to WeeChat with any other IRC client (including WeeChat itself). You can define one port by IRC server, or one generic port for all servers."// Quoting the official //weechat// documentation: //"The Relay plugin can act as an IRC proxy: it will simulate an IRC server, and you can connect to WeeChat with any other IRC client (including WeeChat itself). You can define one port by IRC server, or one generic port for all servers."//
  
-Configuring //weechat//'s relay plugin turns out to be really simple 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. This means that you need as many open ports on the host as irc servers you connect to.+Weechat supports two different relay protocols: ''irc'' and ''weechat''. The ''weechat'' protocol is easier to set up but it has the disadvantage that you can only connect to it with a client that supports it (for example, //weechat// itself, //QWeeChat// or //weechat-android//). The ''irc'' one is a bit longer to setup depending on how many irc networks you connect to, but it is very easy to use and you can connect to it with almost all irc clients. Choose between the two following setups the one that best suits your needs. 
 + 
 +**Using the IRC protocol:** 
 + 
 +Configuring //weechat//'irc relay plugin turns out to be really simple 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. This means that you need as many open ports on the host as irc servers you connect to.
    
 //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: //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:
Line 70: Line 74:
  
 You will see how your client automatically connects to the servers you have just added and how your favourite channels appear in the client. As a bonus point, weechat will send the backlog to your client. You will see how your client automatically connects to the servers you have just added and how your favourite channels appear in the client. As a bonus point, weechat will send the backlog to your client.
 +
 +**Using the WEECHAT protocol:**
 +
 +Again, this is easier to setup but it has the disadvantage that your client must support the weechat protocol. For this protocol you only need one single port.
 +
 +**1.- Inside //weechat//:**
 +
 +* First add the relay
 +
 +  /relay add weechat port
 +
 +//Example//: /relay add weechat 007
 +
 +* Set the password
 +
 +  /set relay.network.password "password"
 +
 +//Example//: /set relay.network.password “james_bond”
 +
 +**2.- Now on the client side:**
 +
 +Simply connect from your client to //sdfeu.org// using your port and your password. Your client will connect to all networks and channels and retrieve the backlog.