Replies: 6 comments 4 replies
|
|
The REDIRECT solution could help to solve the issue with remote port access on all series I models. We'd just have to choose one service we can disable. Did you find other potential services providing remote access? Softwareupdates still work and I would like to keep that use case. In my soundploy logs I see devices still running on older firmwares. Or we could create a reverse proxy that would by default forward all traffic to the original process (using another internal only port) and additionaly handle requests matching paths like /aftertouch/*. This way we would keep the existing functionality. Candidates are also WebServer or pts-handler. |
|
I tested the first command (port 17008) on my ST Portable Series I, and it works perfectly. |
|
Confirming the --dport 17008 -j REDIRECT --to-port 8000 trick works well on a SoundTouch Portable 412540 Series I (taigan variant, fw 27.0.6) too — same approach as @stegerj's ST30 test, no need to kill the SoftwareUpdate process beforehand since PREROUTING intercepts before the local listener. One caveat worth flagging for others: port 17008 is owned by SoftwareUpdate, which gets periodically respawned by Shepherd (observed PID change across sessions, e.g. 1862 → 1896). During that respawn window the redirect target briefly becomes unreliable — the AfterTouch UI on 17008 intermittently stops responding, even though the iptables rule itself stays in place. (message drafted with the help of Claude, based on my own testing) |
|
An update for everyone here: this is built in now. Thanks, @stegerj, for the idea and the testing, and @gmuth and @Henri-be for trying it on more models. Since v0.125.0, the on-device installer sets up the redirect itself, and it's re-applied every time AfterTouch starts, so it survives reboots:
Details are in the on-device install walkthrough and the Model Support Matrix. @Henri-be, about your observation that If you set up the manual HTTPS through the redirect isn't covered; the web UI over plain HTTP is. |
|
I wonder if it would be possible to create a solution with full compatibility over all devices and all series (including Series I). Or we could document alternative solutions for installing firmware updates. see also deborahgu/soundcork#203 |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I had the same port exposure issue as mentioned in #196 and #250, requiring tunneling to access the Aftertouch UI, which now includes also the Player. Apparently (according to Claude Sonnet 4.6) only a few ports are managed by the Linux System of the Soundtouch System, while the others are intercepted/handled at a lower level (DSP acting as ARP proxy intercepting all traffic on eth0).
This issue can be overcome with a redirect rule similar to the one of the HTTPS CA workaround. I tested the following rules (ST 30, on-device install, v0.112.0, cat /proc/variant: mojo):
With this redirect one can access the Aftertouch UI with IP of the speaker e.g. http://192.168.x.x:17008.
I attempted a bit to make the TLS handshake happen connecting to the forwarded 8443 port, but even after installation of the certificate it fails.
The advantage of this approach is I can access the UI from all devices connected to WiFi the ST system is on straight away. Curious of your thoughts or any issues you might see with this approach. Eventually one could persist it adding it to an init script.
All reactions