2015-03-11 20:15:23 +01:00
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
2011-08-03 20:10:11 +02:00
[[command_relay_relay]]
2016-05-14 23:44:36 +02:00
* `+relay+`: relay control
2013-10-20 11:39:11 +02:00
2013-11-04 21:41:34 +01:00
----
2011-02-04 22:12:19 +01:00
/relay list|listfull|listrelay
2014-11-02 11:16:39 +01:00
add <name> <port>
del|stop|restart <name>
2011-02-04 22:12:19 +01:00
raw
2012-07-27 17:54:08 +02:00
sslcertkey
2011-02-04 22:12:19 +01:00
list: list relay clients (only active relays)
listfull: list relay clients (verbose, all relays)
listrelay: list relays (name and port)
2014-11-02 11:16:39 +01:00
add: add a relay (listen on a port)
del: remove a relay (clients remain connected)
stop: close the server socket (clients remain connected)
restart: close the server socket and listen again on port (clients remain connected)
name: relay name (see format below)
port: port used for relay
raw: open buffer with raw Relay data
sslcertkey: set SSL certificate/key using path in option relay.network.ssl_cert_key
Relay name is: [ipv4.][ipv6.][ssl.]<protocol.name>
2012-10-16 19:14:26 +02:00
ipv4: force use of IPv4
ipv6: force use of IPv6
ssl: enable SSL
2012-01-23 11:38:07 +01:00
protocol.name: protocol and name to relay:
2013-02-23 08:33:38 +01:00
- protocol "irc": name is the server to share (optional, if not given, the server name must be sent by client in command "PASS", with format: "PASS server:password")
2012-01-23 11:38:07 +01:00
- protocol "weechat" (name is not used)
2014-11-02 11:16:39 +01:00
The "irc" protocol allows any IRC client (including WeeChat itself) to connect on the port.
2014-12-13 09:16:09 +01:00
The "weechat" protocol allows a remote interface to connect on the port, see the list here: https://weechat.org/download/
2011-02-04 22:12:19 +01:00
Without argument, this command opens buffer with list of relay clients.
2009-05-28 16:07:40 +02:00
2012-01-23 11:38:07 +01:00
Examples:
2011-02-04 22:12:19 +01:00
irc proxy, for server "freenode":
/relay add irc.freenode 8000
2012-07-27 17:54:08 +02:00
irc proxy, for server "freenode", with SSL:
/relay add ssl.irc.freenode 8001
2013-02-23 08:33:38 +01:00
irc proxy, for all servers (client will choose), with SSL:
/relay add ssl.irc 8002
2012-01-23 11:38:07 +01:00
weechat protocol:
2012-07-27 17:54:08 +02:00
/relay add weechat 9000
weechat protocol with SSL:
/relay add ssl.weechat 9001
2012-10-16 19:14:26 +02:00
weechat protocol with SSL, using only IPv4:
/relay add ipv4.ssl.weechat 9001
weechat protocol with SSL, using only IPv6:
/relay add ipv6.ssl.weechat 9001
weechat protocol with SSL, using IPv4 + IPv6:
/relay add ipv4.ipv6.ssl.weechat 9001
2013-11-04 21:41:34 +01:00
----