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/ja | |
parent | d1577b34dafbaeb019ca4c3c1e1b6304c9ca55c3 (diff) | |
download | weechat-4d156ed8d76b9b8dcb155c94d4f55c3264aea8af.zip |
doc: update chapter on relay unix domain sockets; add translations (user's guide)
Diffstat (limited to 'doc/ja')
-rw-r--r-- | doc/ja/weechat_user.ja.adoc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc index 781e7526b..41c4e95a9 100644 --- a/doc/ja/weechat_user.ja.adoc +++ b/doc/ja/weechat_user.ja.adoc @@ -3191,6 +3191,28 @@ websocket = new WebSocket("ws://server.com:9000/weechat"); ポート番号 (例では 9000 番) は Relay プラグインで定義したものです。URI の最後には必ず "/weechat" をつけます (_irc_ と _weechat_ プロトコルの場合)。 +// 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]] ==== コマンド |