New built NC server (34.0.1) and HPB, on separate VMs on a dedicated subnet behind its own firewall. Caddy is acting as a proxy for both. NC is has IP 192.168.100.10, HPB IP 192.168.100.11
On HPB in signaling/server.conf:
if allowall = true with secret = mysecret in the section [backend], with matching secret in NC “Shared secret” HPB works, all is good;
if allowall = false, with backends = backend-1, and in [backend-1] with secret = mysecret and url = mync.domain.tld HPB fails with log entry like signaling[107297]: throttle.go:315: Failed attempt on "BackendRoomAuth" from 192.168.100.10.
The URL entry is correct in that
(a) you can reach the NC install on it;
(b) it correctly resolves as the external (firewall) IP from the HPB server (and wget mync.domain.tldfrom HPB server returns the NC home page);
(c) on NC that domain is set both in trusted_domains, overwrite.cli.url and overwritehost;
(d) in the admin page for Talk the domain is correctly reported in “Nextcloud base URL” and the domain part of “Talk Backend URL”.
At this point I’m assuming that somehow NC isn’t sending the correct host but can’t see where I’d additionally set it, or I’ve fundamentally misunderstood the examples given in nextcloud-spreed-signaling/server.conf.in at master · strukturag/nextcloud-spreed-signaling · GitHub.
So what is backend url/urls in [backend-1] supposed to be set to, and how do I ensure that’s what is sent by NC on connection?
Related question: other than the possibility of someone bruteforcing a 48 character randomly generated secret, how big a security concern is using allowall = true?