diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-05-12 22:52:33 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-05-12 22:52:33 +0200 |
commit | 4d156ed8d76b9b8dcb155c94d4f55c3264aea8af (patch) | |
tree | 42ba21e35395c334a5131bb6c18ac0173c2560b2 /doc/en/weechat_user.en.adoc | |
parent | d1577b34dafbaeb019ca4c3c1e1b6304c9ca55c3 (diff) | |
download | weechat-4d156ed8d76b9b8dcb155c94d4f55c3264aea8af.zip |
doc: update chapter on relay unix domain sockets; add translations (user's guide)
Diffstat (limited to 'doc/en/weechat_user.en.adoc')
-rw-r--r-- | doc/en/weechat_user.en.adoc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index 1c77b23e3..671cd0627 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -3197,23 +3197,23 @@ The URI must always end with "/weechat" (for _irc_ and _weechat_ protocols). [[relay_unix_socket]] ==== UNIX domain sockets -Using the protocol option "unix" with the "/relay add" command, you can listen +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 will allow clients to connect using the WeeChat protocol to +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 -L9000:/home/xxx/.weechat/relay_socket foo_host +$ ssh -L 9000:.weechat/relay_socket user@hostname ---- -This will then allow for local relay clients to connect on port 9000 to a -WeeChat instance running on "foo_host". +This redirects local relay clients connecting on port 9000 to the WeeChat +instance running on "hostname". [[relay_commands]] ==== Commands |