Last active
November 7, 2024 07:28
-
-
Save miblodelcarpio/20da48bcdfb55c0860c44fd42d1b9647 to your computer and use it in GitHub Desktop.
WeeChat Relay Setup
This file contains 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 | |
Relay setup | |
On the server's instance of weechat: | |
/relay add ssl.irc 8001 | |
/secure set relay WHATEVER_PASSWORD | |
/set relay.network.password "${sec.data.relay}" | |
On the server, to generate the ssl 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 -ssl -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" |
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!