The KiwiSDR 2 online store is open for orders! Please visit kiwisdr.nz
Alternatives to reverse proxy
As the very useful reverse proxy service is currently not taking new requests, is there any alternative way of doing this?
My Kiwi connects via a cellular modem, but the provider doesn't support port forwarding.
Any ideas how to provide public access would be appreciated!
thanks
A
Comments
You can use same frp.
Install server on a hosting VM or home PC with public IP and client on your remote QTH, than configure access...
You will create personal reverse proxy for KiwiSDR and maybe something else... For example for ssh access to KiwiSDR or other devices on this site.
Ofcourse you can use many frp-clients with one frp-server for multi sites.
73! Yuri
Thanks - But I'd rather not have to use a separate PC or pi at the SDR, as its on a remote site with limited power from battery and solar, so I need to keep power consumption down.
I'd prefer a solution that the Kiwi and my Teltonika 4G router can use natively.
A
You can install copy frp-client from github on BBG, but be careful, because performance issues may arise.
73! Yuri
Thanks Yuri,
I was not aware of frp.
I'll make it a configurable option in a future version of wsprdaemon.
Rob
I am using Cloudflare Tunnel. It's free and very fast.
You can use the reverse tunnel feature of ssh built into the BBG to provide remote access. On the BBG run:
ssh -R 8073:localhost:8087 user@somepublicserver.com
I recently replaced my crappy metered satellite internet service and now have great speeds and unlimited data. However, I no longer have the ability to open ports.
Since proxy.kiwisdr.com is apparently not currently an option, I have been looking to find another solution. I have been reading on this forum solutions that others have successfully used, however my knowledge on such matters is quite limited.
Would someone be willing to provide detailed step by step instructions, and maybe some hand-holding ("Reverse Proxy For Dummies") on getting me set up on NGINX or Cloudflare or similar?
I would be MOST appreciative!
Thanks in advance.
Dennis
For Cloudflare configuration. You will need to own a domain name and know some Linux command. Instructions:
https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide
The configuration file would be
Replace the 8000 to whatever your KiwiSDR's port
For whatever reason HTTPS doesn't work. So go into your Cloudflare dashboard and into page rules and create a new rules. URL is whatever URL you want to use with your Kiwisdr e.g. receiver.abcde.com/*
Pick rules "SSL" to Off and "Automatic HTTPS rewrite" to Off.
After you confirm it is working, you need to let Cloudflare tunnel run as service so it will start everytime. An easier way would be put a command in your /etc/rc.local
Or follow this guide to run it as service
https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/run-tunnel/as-a-service/linux
@pistsc hello!
I've tried cloudflare tunnels and got an error
Does you config still work ?
With a little struggle, I have kiwisdr running on the end of a cloudflared tunnel.
A little glitch: Entering kiwi.foxgulch.net establishes a connection to my kiwisdr over the Cloudflare tunnel OK. However, entering kiwi.foxgulch.net:8073 stalls and goes not where. Since rx.kiwisdr.com is checking periodically to see if kiwi.foxgulch.net:8073 establishes a connection to a kiwisdr, my kiwisdr never ends up on the map.
I have tried kiwi.foxgulch.net:0 but that hung (stalled) also. Anyone experience this glitch?
Tnx Larry W0AY
For the problem of not appearing on the map: I changed the registration script that runs on kiwisdr.com to try port 80 if there is no answer on the configured port (typically 8073) when polling
/status
. It fixed this problem.We also had another user with an https (note 's') proxy where the
curl
of/status
was not getting a proper connection upgrade from http to https (typically an http 302 redirect I believe). This case is now detected and handled. So this Kiwi is also now listed and appears on the map.Successfully connected using Cloudflare tunnel. Performance is very good.
However, it appears to be a local connection.
The admin panel could be password protected, but the time limit does not work.
Is it possible to add an option to enable time limit for all connections?
Also, it would be nice if the administrator could disable the time limit by accessing the URL with a password.
I "discovered" it too a few days back when I installed the Cloudflare tunnel on my fifth original Kiwi. It works very well but all connections appear as local and then the time and activity limits doesn't work. Many "forget" to log off the kiwi, and can be connected for hours occupying a slot and using limit data pack in waste 🙁
73 Levi
Found also out that when using cloudflare tunnel, password election for a number of channels doesn't work. You can choose all channels password protected, or none.
Tunnelling with ssh to an internet-accessible host works OK, but the problem is that the KiwiSDR is remote, and any interruption to the tunnel can't be fixed remotely. The solution I've found is autossh on the BeagleBone [apt install autossh], invoked in the /etc/rc.local script.
With that solution, remote connections are "remote", not local.
It can also provide a ssh tunnel to ssh into the BeagleBone.