I am in the beginnings of setting up my BBS. One issue I am having is the web based telnet client
isn't working behind my reverse proxy.
I am in the beginnings of setting up my BBS. One issue I am having is the web based telnet client isn't working behind my reverse proxy.
First off, this page probably holds no answers for you, however since I don't know how familiar you are with ftelnet and how it works, please review:
https://github.com/echicken/synchronet-web-v4/wiki/ftelnet
What are you using as a reverse proxy?
Is your reverse proxy providing TLS and talking to Synchronet in the clear locally, or are you using Synchronet's Let's Encrypt & HTTPS support?
Is your reverse proxy listening on port 11235 and then forwarding internally to WSS? What (if any) configuration have you done re: certs for this?
What are you using as a reverse proxy?
NGINX
Yes, reverse proxy is providing TLS and talking to Synchronet in the clear
No, I don't have it listening on 11235, just on 80 and 443. I haven't done any configuration for
certs in Synchronet at all, just in NGINX. I'm guessing this is the problem. Can I have NGINX proxy
ftelnet, or should I look into Synchronet's Let's Encrypt support?
What are you using as a reverse proxy?
Is your reverse proxy providing TLS and talking to Synchronet in the clear locally, or are you using Synchronet's Let's Encrypt & HTTPS support?
Is your reverse proxy listening on port 11235 and then forwarding internally to WSS? What (if any) configuration have you done re: certs for this?
No, It's not - I am just using 443. To go back to what you originally said,
I'm not familiar with ftelnet at all and I need to look at that. This gets me
pointed in the right direction, thank you!!!
Okay, you should set nginx up act as a reverse proxy for websocket as well. IIRC the config stanza will be pretty much identical to the one you're already using for HTTPS -> Synchronet HTTP, except that you'll want something like:
listen 1124 ssl;
and:
location / {
proxy_pass http://localhost:1123;
...
}
Mind that in the above, nginx will then be listening on port 1124, and forwarding to port 1123. You'll then want to set [WS] in ctrl/services.ini to listen on port 1123. You can delete or comment out the [WSS] section.
You'll also want to edit the [web] section in ctrl/modopts.ini and add or edit the following key/value:
wssp = 1124
Reload nginx, restart your BBS if necessary (services should/might recycle when you save services.ini), and reload your Home page, and hopefully it'll work.
Okay, you should set nginx up act as a reverse proxy for websocket as well. IIRC the config stanza will be pretty much identical to the one you're already using for HTTPS -> Synchronet HTTP, except that you'll want something like:
listen 1124 ssl;
and:
location / {
proxy_pass http://localhost:1123;
...
}
Sysop: | Chris Crash |
---|---|
Location: | Huntington Beach, CA. |
Users: | 611 |
Nodes: | 8 (0 / 8) |
Uptime: | 32:41:24 |
Calls: | 10,849 |
Files: | 5 |
Messages: | 505,095 |