summaryrefslogtreecommitdiff
path: root/doc/it/weechat_user.it.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-05-12 22:52:33 +0200
committerSébastien Helleu <flashcode@flashtux.org>2019-05-12 22:52:33 +0200
commit4d156ed8d76b9b8dcb155c94d4f55c3264aea8af (patch)
tree42ba21e35395c334a5131bb6c18ac0173c2560b2 /doc/it/weechat_user.it.adoc
parentd1577b34dafbaeb019ca4c3c1e1b6304c9ca55c3 (diff)
downloadweechat-4d156ed8d76b9b8dcb155c94d4f55c3264aea8af.zip
doc: update chapter on relay unix domain sockets; add translations (user's guide)
Diffstat (limited to 'doc/it/weechat_user.it.adoc')
-rw-r--r--doc/it/weechat_user.it.adoc22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc
index c9f7562e1..a02511480 100644
--- a/doc/it/weechat_user.it.adoc
+++ b/doc/it/weechat_user.it.adoc
@@ -3408,6 +3408,28 @@ websocket = new WebSocket("ws://server.com:9000/weechat");
The port (9000 in example) is the port defined in Relay plugin.
The URI must always end with "/weechat" (for _irc_ and _weechat_ protocols).
+// TRANSLATION MISSING
+[[relay_unix_socket]]
+==== UNIX domain sockets
+
+Using the protocol option "unix" with the `/relay add` command, you can listen
+using any protocol on a UNIX domain socket at a given path. For example:
+
+----
+/relay add unix.weechat %h/relay_socket
+----
+
+This allows clients to connect using the weechat protocol to
+_~/.weechat/relay_socket_. This is particularly useful to allow SSH forwarding
+for relay clients, when other ports cannot be opened. Using OpenSSH:
+
+----
+$ ssh -L 9000:.weechat/relay_socket user@hostname
+----
+
+This redirects local relay clients connecting on port 9000 to the WeeChat
+instance running on "hostname".
+
[[relay_commands]]
==== Comandi