Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Commit

Permalink
Steal WS/WSS instructions from Ree's changes to the Runemaster web UI.
Browse files Browse the repository at this point in the history
Formatting may be extensively frigged since I de-SSJS-ified it.
  • Loading branch information
echicken committed Mar 31, 2018
1 parent 70eafae commit 914bc1d
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions web/root/pages/000-home.xjs
Expand Up @@ -35,8 +35,28 @@
<p>
Actually, it looks like you're the SysOp, so here's what you can do to enable it:<br />
<ul>
<li>Enable the WebSocket to Telnet Proxy Service
<li>To do this, add this block to your <b>sbbs/ctrl/services.ini file<pre>[WS]\r\nPort=1123\r\nOptions=NO_HOST_LOOKUP\r\nCommand=websocketservice.js localhost " + GetTelnetPort() + "</pre></li>
<li>Enable the WebSocket to Telnet Proxy Service</li>
<li>Enable the WS and WSS services
<ul>
<li>To do this, add this block to your <b>sbbs/ctrl/services.ini file
<pre>
;WebSocket service (for fTelnet loaded via http://).
;For troubleshooting, please see https://www.ftelnet.ca/synchronet/
[WS]
Port=1123
Options=NO_HOST_LOOKUP
Command=websocketservice.js
;WebSocket Secure service (for fTelnet loaded via https://).
;For troubleshooting, please see https://www.ftelnet.ca/synchronet/
[WSS]
Port=11235
Options=NO_HOST_LOOKUP | TLS
Command=websocketservice.js
</pre>
</li>
</ul>
<strong>NOTE:</strong> Don't forget to open ports 1123 and 11235 on your firewall and/or add the correct port forwarding rules, if necessary
</li>
</ul>
<strong>NOTE:</strong> You may need to tweak the Command= line if your server is listening on a specific IP address (ie change 'localhost' to the correct IP).
</p>
Expand Down

0 comments on commit 914bc1d

Please sign in to comment.