[Spce-user] NGCP and subscribers behind NAT

Lole Sodo lole.siple at gmail.com
Mon Jul 5 16:47:57 EDT 2021


Hello. Im lole,  This is my first post on this list. I hope to do it the
right way.

I want to test on NGCP configuring it behind a NAT. (version 9.4.1)

It is a static nat IPpriv_1:5060 <--> IPpub_1:5060 and
IPpriv_1:Rtp.PortRange <--> IPpub_1:Rtp.PortRange.

Group1: Most of the subscribers or test peers will be in the same private
subnet as IPpriv_1
Group2: only a few subscribers / peers will be on public IPs.
Group 1 and Group 2 devices must also be able to communicate with each other

Is there a way to configure network.yml to achieve this?

For your information I copied the configuration that I did and it did not
work for me. The outgoing "lb" INVITE between two users in Group1 leads as
"contact" IPpub1

############
network.yml:
############
hosts:
  self:
    dbnode: '1'
    eth0:
      gateway: 192.168.10.1
      ip: 192.168.10.23
      netmask: 255.255.255.0
      advertised_ip: [ IPpub_1]
      type:
      - web_ext
      - web_int
      - ssh_ext
      - sip_ext
      - rtp_ext
      - rtp_int
    interfaces:
    - lo
    - eth0
    lo:
      cluster_sets:
      - default
      ip: 127.0.0.1
      netmask: 255.255.255.0
      type:
      - sip_int
#############################

I will appreciate your comments.
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20210705/03801a8a/attachment.html>


More information about the Spce-user mailing list