How to configure the YalerTunnel daemon, including options not mentioned in device specific tutorials.
This app note works for Aduino Yún, BeagleBone, Raspberry Pi and other Linux devices. Found a bug? Let us know.
Install YalerTunnel on Arduino Yún, BeagleBone, Raspberry Pi or another device
How to set up YalerTunnel to remotely access a Web server listening on localhost port 80 (or 443).
Enable Web access on Arduino Yún, BeagleBone, Raspberry Pi or another device
$ ./yalertunnel server 127.0.0.1:80 ssl:try.yaler.io:443 RELAY_DOMAINIf your local Web server uses TLS, even with a self-signed certificate, type
$ ./yalertunnel server ssl:127.0.0.1:443 ssl:try.yaler.io:443 RELAY_DOMAIN
Done. The resulting setup looks like this (assuming RELAY_DOMAIN = id):

How to set up YalerTunnel to remotely access a SSH daemon listening on localhost port 22.
Enable SSH access on Arduino Yún, BeagleBone, Raspberry Pi or another device
$ ./yalertunnel proxy 127.0.0.1:22 try.yaler.io:80 RELAY_DOMAIN
Done. The resulting setup looks like this (assuming RELAY_DOMAIN = id-ssh):

How to set up multiple YalerTunnel instances.
How to set up YalerTunnel to access a Web server listening on localhost port 80 and SSH on port 22.
$ ./yalertunnel server 127.0.0.1:80 ssl:try.yaler.io:443 RELAY_DOMAIN_1
$ ./yalertunnel proxy 127.0.0.1:22 try.yaler.io:80 RELAY_DOMAIN_2
Done. The resulting setup looks like this (assuming RELAY_DOMAIN_1 = id and RELAY_DOMAIN_2 = id-ssh):

How to set up YalerTunnel to access a Web server on port 80 and a WebSocket service on port 8080.
$ ./yalertunnel server 127.0.0.1:80 ssl:try.yaler.io:443 RELAY_DOMAIN_1
$ ./yalertunnel server 127.0.0.1:8080 ssl:try.yaler.io:443 RELAY_DOMAIN_2
Done. The resulting setup looks like this (assuming RELAY_DOMAIN_1 = id and RELAY_DOMAIN_2 = id-ws):

How to set up YalerTunnel to handle more than one client request at once.
YalerTunnel supports parallel connections throught the -min-listeners option.
The resulting setup looks like this (assuming -min-listeners is set to 2):

How YalerTunnel works in server, proxy or client mode. For additional details, see the Yaler protocol documentation.
YalerTunnel is used in server mode to enable access HTTP-aware services (e.g. a Web server or WebSocket service).
YalerTunnel is used in proxy mode to enable access to TCP-based services (e.g. a SSH or VNC daemon).
YalerTunnel is used in client mode to provide a local service endpoint, if a TCP-based client does not support HTTP proxies.
Need more relay domains or got any other questions? Get in touch.
This work by Yaler GmbH is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.