Speaking of HTTPS, I see that you have an nginx serving the dlreq page ove HTTPS. How do you make nginx preserve the client IP when forwarding the request to Mystic's web server? (As dlreq checks the client IP and refuses serve anything if the IP doesn't match.)
I have HTTP on port 61080 leading directly to the Mystic HTTP web server, similarly HTTPS on port 61443 leading to the Mystic HTTPS web server, and experimenting a little with Apache (which runs all HTTPS stuff with the "real" SSL cert) to proxy certain URLs internally to 61443, but the client as seen by Mystic's web server will always be the loopback interface, so d denies the download requests when clicking on the file links.
Could be one of those things that are easy to do with nginx, but less so w Apache. :)
(Hmm, maybe I would need to let Apache handle 61080 as well so that the "initial" dlreq requests comes from the loopback interface... Which would trash the client IP checking ability of dlreq, but anyway...)
Thanks in advance!
I am using Nginx Proxy, and have 'streams' to Mystic to my BBS for BinkP and Telnet. The web pages are forwarded to port 80 on the BBS with
Let's Encrypt. I have no issues with DLReq doign that.
Mystic runs in a docker on my synology and the IP of caller/webvisitor
get forwarded by the DNS reverse proxy in all cases. I dont know the
exact script/command for nginx as synology does it for me.
I believe it is, I vaguely remember having to do some IP forward some
time ago. Wasn't it with x-headers? x-forward?
Hope it will be as easy as I had it. Didnt even know that dlreq
validated the IP :).
Hello opicron!
validated the IP :).
Actually, I asked g00r00 if it would be possible to turn the IP validation in some future version (and perhaps also to change the URL displayed insid Mystic, e.g. http:// to https:// and changing/removing the port number), b I'm pretty sure the wishlist for Mystic is long already...
Thanks again!Yw and hope you get it working. You could also choose to feed always some local ip to the board and webserver, ok that means no hostname/ip for lookups. But I do not use those anyway, my firewall blocks regions/countries. Not mystic.
ZipoP!
| Sysop: | Sarah |
|---|---|
| Location: | Portland, Oregon |
| Users: | 194 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 238:13:36 |
| Calls: | 1,313 |
| Calls today: | 1,313 |
| Files: | 85,066 |
| U/L today: |
554 files (10,683M bytes) |
| D/L today: |
4,206 files (10,822M bytes) |
| Messages: | 71,592 |
| Posted today: | 62 |