Skip to content

๐Ÿ” SAG-IPSEC-POC Configurationยถ

Purpose

This document provides configuration, connectivity, and SMSC setup details for the Unibeam SAG-VTC IPSEC proof-of-concept environment, including network diagrams, PSK generation, and Helm values.

SAG-IPSEC-POCยถ

Network Diagram:ยถ

SAG-IPSEC-POC

PSK Generation:

Mac:

head -c 4096 /dev/urandom | openssl sha256 | cut -b1-32

Nix:

head -c 4096 /dev/urandom | sha256sum | cut -b1-32

IPSEC: 34.199.18.157 Encryption Domain: 34.206.0.169

SAG-STC SMSCยถ

209.183.32.40 17600

  • System Id: Unibeam System
  • Type: _PoC
  • Password: 1b3Am$!

Mikrotik SRC_NAT Rules:ยถ

SRC-RULE SRC-Action

โš™๏ธ Config SMSC for SMSยถ

          "smscs": [
            {
              "name": "STC_SAG",
              "ipAddress": "209.183.32.40",
              "port": 17600,
              "systemId": "Unibeam",
              "password": "1b3Am$!",
              "systemType": "_PoC",
              "shouldRespondBackToSmsc": true,
              "keepAliveIntervalSec": 30,
              "binarySmsProperties": {
                "esmClass": 64,
                "protocolId": 127,
                "dataCoding": 246,
                "submitPayloadType": 1,
                "priorityFlag": 0,
                "validityPeriodInSeconds": 60,
                "registeredDelivery": 5
              },
              "textSmsProperties": {
                "priorityFlag": 0,
                "protocolId": 0,
                "dataCoding": 8,
                "esmClass": 0,
                "sourceName": "unibeam"
              },
              "source": {
                "npi": 5,
                "ton": 1
              },
              "destination": {
                "npi": 0,
                "ton": 0
              },
              "dataHeader": {
                "kid": 16,
                "kic": 16
              }
            }
        ]  

SMS Service Configuration (Helm Values)ยถ

smsServiceConfig: |-
  {
    "web.port": 8101,
    "smscAddressCode": "51710",
    "application.encryptCredentials": true,
    "application.secret1": "secret1",
    "application.secret2": "secret2",
    "kafka.broker.host": "b-1.ubmsksia.h7uz4w.c3.kafka.il-central-1.amazonaws.com:9092,b-2.ubmsksia.h7uz4w.c3.kafka.il-central-1.amazonaws.com:9092",
    "kafka.sim.service.consumer.topic": "sim.service-sms.service",
    "kafka.sim.service.producer.topic": "sms.service-sim.service",
    "kafka.sim.service.consumer.group.name": "sim.service-sms.service.consumer.group",
    "mno.list": [
        {
            "id": "pelephone",
            "smscAddressCode": "7885",
            "encryptCredentials": false,
            "secret1": "secret1",
            "secret2": "secret2",
            "smscs": [
                {
                    "name": "pelephone-prod",
                    "ipAddress": "10.170.252.199",
                    "port": 3800,
                    "systemId": "unibeamprod",
                    "password": "uni310!",
                    "systemType": "SMPP",
                    "priorityFlag": 1,
                    "source": {
                        "npi": 1,
                        "ton": 1
                    },
                    "destination": {
                        "npi": 1,
                        "ton": 1
                    },
                    "dataHeader": {
                        "kid": 16,
                        "kic": 16
                    }
                }
            ]
        }
    ]
  }
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ .Release.Name }}-service
  namespace: {{ .Release.Namespace | quote }}
data:
  sms-service-config.json: |-
{{ .Values.smsServiceConfig | indent 6 }}
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ .Release.Name }}-service
  namespace: {{ .Release.Namespace | quote }}
data:
  sms-service-config.json: |-
    {
      "web.port": 8101,
      "smscAddressCode": "51710",
      "application.encryptCredentials": false,
      "application.secret1": "secret1",
      "application.secret2": "secret2",
      "kafka.broker.host": "kafka.kafka.svc.cluster.local:9092",
      "kafka.sim.service.consumer.topic": "sim.service-sms.service",
      "kafka.sim.service.producer.topic": "sms.service-sim.service",
      "kafka.sim.service.consumer.group.name": "sim.service-sms.service.consumer.group",
      "mno.list": [
        {
          "id": "atnt",
          "smscAddressCode": "7771000",
          "encryptCredentials": false,
          "secret1": "abcdabcdabcdabcd",
          "secret2": "abcdabcdabcdabcd",
          "smscs": [
               {
                  "name": "STC_SAG",
                  "ipAddress": "209.183.32.40",
                  "port": 17600,
                  "systemId": "Unibeam",
                  "password": "1b3Am$!",
                  "systemType": "_PoC",
                  "shouldRespondBackToSmsc": true,
                  "keepAliveIntervalSec": 30,
                  "binarySmsProperties": {
                    "esmClass": 64,
                    "protocolId": 127,
                    "dataCoding": 246,
                    "submitPayloadType": 1,
                    "priorityFlag": 0,
                    "validityPeriodInSeconds": 60,
                    "registeredDelivery": 5
                  },
                  "textSmsProperties": {
                    "priorityFlag": 0,
                    "protocolId": 0,
                    "dataCoding": 8,
                    "esmClass": 0,
                    "sourceName": "unibeam"
                  },
                  "source": {
                    "npi": 5,
                    "ton": 1
                  },
                  "destination": {
                    "npi": 0,
                    "ton": 0
                  },
                  "dataHeader": {
                    "kid": 16,
                    "kic": 16
                  }
                }
          ]
        }
      ]
    }
---