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 [2014/01/18 13:02] – Adding weechat's weechat protocol explanation apart from the irc one. 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."//
  
-Weechat supports two different relay protocols: ''irc'' and ''weechat''. The ''weechat'' protocol is easier to setup but 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.+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:+**Using the IRC protocol:**
  
 Configuring //weechat//'s 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. Configuring //weechat//'s 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.
Line 75: Line 75:
 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:+**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. 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 * First add the relay
  
-    /relay add weechat port+  /relay add weechat port
  
 //Example//: /relay add weechat 007 //Example//: /relay add weechat 007
Line 87: Line 89:
 * Set the password * Set the password
  
-    /set relay.network.password "password"+  /set relay.network.password "password"
  
 //Example//: /set relay.network.password “james_bond” //Example//: /set relay.network.password “james_bond”
  
-And then simply connect from your client to //sdfeu.org// using your port and your password. Your client will connect and retrieve the backlog.+**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.