diff --git a/static/skywire-manager-src/src/app/app.datatypes.ts b/static/skywire-manager-src/src/app/app.datatypes.ts index b60920c3f1..28dfdfd0f8 100644 --- a/static/skywire-manager-src/src/app/app.datatypes.ts +++ b/static/skywire-manager-src/src/app/app.datatypes.ts @@ -1,6 +1,8 @@ export class Node { label: string; localPk: string; + isSymmeticNat?: boolean; + publicIp?: string; ip: string; version: string; apps: Application[]; diff --git a/static/skywire-manager-src/src/app/components/pages/node/node-info/node-info-content/node-info-content.component.html b/static/skywire-manager-src/src/app/components/pages/node/node-info/node-info-content/node-info-content.component.html index a429276985..c3752fc1ea 100644 --- a/static/skywire-manager-src/src/app/components/pages/node/node-info/node-info-content/node-info-content.component.html +++ b/static/skywire-manager-src/src/app/components/pages/node/node-info/node-info-content/node-info-content.component.html @@ -13,6 +13,14 @@ {{ 'node.details.node-info.public-key' | translate }}  + + {{ 'node.details.node-info.symmetic-nat' | translate }}  + {{ (node.isSymmeticNat ? 'common.yes' : 'common.no') | translate }} + + + {{ 'node.details.node-info.public-ip' | translate }}  + + {{ 'node.details.node-info.ip' | translate }}  diff --git a/static/skywire-manager-src/src/app/services/node.service.ts b/static/skywire-manager-src/src/app/services/node.service.ts index ff20c54b6d..5a0c8f3beb 100644 --- a/static/skywire-manager-src/src/app/services/node.service.ts +++ b/static/skywire-manager-src/src/app/services/node.service.ts @@ -614,6 +614,8 @@ export class NodeService { node.secondsOnline = Math.floor(Number.parseFloat(response.uptime)); node.minHops = response.min_hops; node.skybianBuildVersion = response.skybian_build_version; + node.isSymmeticNat = response.overview.is_symmetic_nat; + node.publicIp = response.overview.public_ip; // Ip. if (response.overview.local_ip && (response.overview.local_ip as string).trim()) { diff --git a/static/skywire-manager-src/src/assets/i18n/en.json b/static/skywire-manager-src/src/assets/i18n/en.json index c3114dd5f6..46bf47175b 100644 --- a/static/skywire-manager-src/src/assets/i18n/en.json +++ b/static/skywire-manager-src/src/assets/i18n/en.json @@ -98,6 +98,8 @@ "title": "Visor Info", "label": "Label:", "public-key": "Public key:", + "symmetic-nat": "Symmetic NAT:", + "public-ip": "Public IP:", "ip": "IP:", "dmsg-server": "DMSG server:", "ping": "Ping:", diff --git a/static/skywire-manager-src/src/assets/i18n/es.json b/static/skywire-manager-src/src/assets/i18n/es.json index 275447f717..488e816960 100644 --- a/static/skywire-manager-src/src/assets/i18n/es.json +++ b/static/skywire-manager-src/src/assets/i18n/es.json @@ -98,6 +98,8 @@ "title": "Información del visor", "label": "Etiqueta:", "public-key": "Llave pública:", + "symmetic-nat": "NAT simétrica:", + "public-ip": "IP pública:", "ip": "IP:", "dmsg-server": "Servidor DMSG:", "ping": "Ping:", diff --git a/static/skywire-manager-src/src/assets/i18n/es_base.json b/static/skywire-manager-src/src/assets/i18n/es_base.json index 32fce6fe03..1931abc858 100644 --- a/static/skywire-manager-src/src/assets/i18n/es_base.json +++ b/static/skywire-manager-src/src/assets/i18n/es_base.json @@ -98,6 +98,8 @@ "title": "Visor Info", "label": "Label:", "public-key": "Public key:", + "symmetic-nat": "Symmetic NAT:", + "public-ip": "Public IP:", "ip": "IP:", "dmsg-server": "DMSG server:", "ping": "Ping:",