Skip to content

Instantly share code, notes, and snippets.

@miblodelcarpio
Last active November 7, 2024 07:28
Show Gist options
  • Save miblodelcarpio/20da48bcdfb55c0860c44fd42d1b9647 to your computer and use it in GitHub Desktop.
Save miblodelcarpio/20da48bcdfb55c0860c44fd42d1b9647 to your computer and use it in GitHub Desktop.
WeeChat Relay Setup
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"
@nm0i
Copy link

nm0i commented Feb 24, 2023

Gah! Thankyou a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment