@kvbox/server 0.5.43 → 0.5.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/kvbox-server.js +2003 -1423
- package/dist/kvbox-server.js.map +1 -1
- package/package.json +1 -1
- package/scripts/net-setup.sh +1 -1
package/package.json
CHANGED
package/scripts/net-setup.sh
CHANGED
|
@@ -427,7 +427,7 @@ do_relay_status() {
|
|
|
427
427
|
fi
|
|
428
428
|
ok "tunnel $RELAY_IF is up; the relay last answered $(( $(date +%s) - hs )) s ago"
|
|
429
429
|
local rules; rules="$(relay_input_rules)"
|
|
430
|
-
if [[ -z "$rules" ]]; then printf '%s✗%s the control plane cannot reach this host through the tunnel (no firewall rule); rerun kvbox
|
|
430
|
+
if [[ -z "$rules" ]]; then printf '%s✗%s the control plane cannot reach this host through the tunnel (no firewall rule); rerun kvbox-server relay\n' "$RED" "$NC"; return 1; fi
|
|
431
431
|
ok "firewall: the control plane may reach port $(sed -E 's/.*--dport ([0-9]+) .*/\1/' <<<"$rules" | head -1) through the tunnel"
|
|
432
432
|
}
|
|
433
433
|
|