Skip to content

Instantly share code, notes, and snippets.

@almet
Last active June 11, 2019 06:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save almet/af4ae6e43c18eaf1a1d5 to your computer and use it in GitHub Desktop.
Save almet/af4ae6e43c18eaf1a1d5 to your computer and use it in GitHub Desktop.
Glowing Bear + Weechat relay

Here's how to have a similar setup to irccloud, using any ssh-enabled host (this works with people.mozilla.com)

Running weechat on the server side

$ tmux
$ weechat

In weechat, enable to relay:

/set relay.network.password yourpassword
/relay add weechat 9001

Then disconnect your tmux session (ctrl + b + d)

On your client

You can use any ssh enabled host as a VPN (no need to have ssh-agent enabled on the host)

$ sudo apt-get install sshuttle
$ sshuttle -r user@people.mozilla.com 0/0

And then, connect with glowing-bear, on http://www.glowing-bear.org/. Enter the following options:

  • host: people.mozilla.com
  • port: 9001
  • password: yourpassword

And that should be it!

@magopian
Copy link

Another way to do it:

1/ add the relay as explained above (pick another number than 9001 for the port, one that's not already in use!), say 54321
2/ on your computer, start a ssh tunnel: ssh -L54321:localhost:54321 magopian@people.mozilla.org
3/ open http://www.glowing-bear.org/ with the following options:

  • host: localhost
  • port: 54321
  • password: yourpassword

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