diff --git a/app/sovran_systemsos_web/static/js/helpers.js b/app/sovran_systemsos_web/static/js/helpers.js index 8d9ed68..ce58c98 100644 --- a/app/sovran_systemsos_web/static/js/helpers.js +++ b/app/sovran_systemsos_web/static/js/helpers.js @@ -67,7 +67,7 @@ function renderPortForwardGuideHtml(ports, opts) { var noteClass = opts.noteClass || "port-req-hint"; var ipHtml = opts.internalIp ? '' + escHtml(opts.internalIp) + '' - : 'this computer’s internal IP (shown as “Internal IP” at the top of the Hub dashboard)'; + : 'this computer’s internal IP'; var rows = (ports || []).map(function(p) { return '' + @@ -78,26 +78,17 @@ function renderPortForwardGuideHtml(ports, opts) { }).join(""); var forWhat = opts.serviceName - ? 'For ' + escHtml(opts.serviceName) + ' to be reachable from outside your home network, open' - : 'Open'; + ? 'To make ' + escHtml(opts.serviceName) + ' reachable from outside your home, forward these ports to ' + ipHtml + ':' + : 'Forward these ports to ' + ipHtml + ':'; - return '

' + - forWhat + ' the ports below in your router’s port forwarding settings ' + - 'and point them at ' + ipHtml + '.' + + return '

' + forWhat + '

' + + '

' + + 'Set the internal and external port to the same number. Match TCP or UDP exactly. For ranges like 40000-40099, use your router’s range fields (start 40000, end 40099).' + '

' + - '' + '' + '' + '' + rows + '' + - '
Port(s)ProtocolUsed for
' + - '

' + - '📱 How to confirm it worked: forwarding happens on your router, so it can only be verified from outside your network. ' + - 'Turn Wi-Fi off on your phone and open the service over mobile data — if it loads, your ports are open.' + - '

'; + ''; } function formatDuration(seconds) {