Set NAT with STUN

If your PBX has no static public IP address and domain name, you can set the NAT with STUN (Simple Traversal Utilities for NAT). STUN is a simple protocol for discovering the public IP address.

  1. Forward the required ports on your router.
  2. Log in the PBX web interface, go to Settings > PBX > General > SIP > NAT.
  3. In the drop-down list of NAT Type, select STUN.
  4. Configure the NAT settings according to your network environment.
    • STUN Address: Select the Yeastar STUN or customize a STUN.
    • Local Network Identification: Enter the local network segment and the subnet mask. This setting will allow all your local devices to communicate with the PBX by the local IP address instead of passing through the router.
      Note: If you have multiple local network segments, click to add another Local Network Identification.
    • NAT Mode: Set to Yes.
  5. Click Save and reboot the PBX to take effect.