Last active
June 14, 2025 16:54
-
-
Save miblodelcarpio/20da48bcdfb55c0860c44fd42d1b9647 to your computer and use it in GitHub Desktop.
WeeChat Relay Setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
weechat (v4.0.0+) | |
Relevant Release Note: https://weechat.org/files/doc/weechat/ReleaseNotes-4.0.0.html#v4.0.0_tls | |
Relay setup | |
On the server's instance of weechat: | |
/relay add tls.irc 8001 | |
/secure set relay WHATEVER_PASSWORD | |
/set relay.network.password "${sec.data.relay}" | |
On the server, to generate the SSL/TLS certificate: | |
mkdir -p ~/.weechat/ssl | |
cd ~/.weechat/ssl | |
openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem | |
On the client's instance of weechat: | |
/secure set relay WHATEVER_PASSWORD (same as on the server) | |
/server add libera.chat 192.168.1.71/8001 -autoconnect | |
/set irc.server.libera.chat.password "libera.chat:${sec.data.relay}" | |
└─────────┘ Corresponding to an IRC server name | |
configured on the server's instance | |
/set irc.server_default.capabilities "server-time" |
Gah! Thankyou a lot.
btw for newer weechat versions instead of /relay add ssl.irc 8001
use /relay add tls.irc 8001
More here: https://weechat.org/files/doc/weechat/ReleaseNotes-4.0.1.html
Cheers, @DogeWithDependencies, updated.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you so, so much for this!