US English (US)
CA French (Canada)

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below using as much detail as possible so that our team can best assist you.

  • Home
  • Contact Us
  • Employee Log In
  • Getting Started
  • Using Your SpectrumVoIP Services
  • Working Remotely
  • Frequently Asked Questions
  • Troubleshooting
  • Training Resources
English (US)
US English (US)
CA French (Canada)
  • Home
  • Getting Started
  • Preparing to Use VoIP Services

Recommended Unifi Firewall Settings

Understand the firewall settings for USG-series Unifi devices and learn how to optimize them for your network.

Written by Thomas Gipson

Updated at May 23rd, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request. We’ll reach back to you via email as soon as possible.

Please fill out the contact form below using as much detail as possible so that our team can best assist you.

After clicking 'Submit Ticket' you wil receive an email confirmation that your ticket has reached a member of our support team. They will reply back to continue to supporting, or you can call in referencing the ticket number on the email. (469) 429-2500

  • Getting Started
    Policies Preparing to Use VoIP Services Billing Basics Register an SMS Campaign Connect Your Device Using Your Phones Web Portals
  • Using Your SpectrumVoIP Services
    Customer Announcements Basic Phone Use The Stratus Platform The Enswitch Platforms SMS Messaging Use Your Fax Service Manage Your Network Equipment
  • Working Remotely
    Relocate Your Phone Use Your Phone Remotely Stratus Working Remotely Enswitch Working Remotely
  • Frequently Asked Questions
    Getting Help Common Equipment and Feature Questions SMS Campaign Registry Billing and Accounting Questions LNP / Porting Telephone Numbers
  • Troubleshooting
    Common VoIP Issues and Solutions Fax Problems Phone Problems Share Your Screen
  • Training Resources
    Web Portal User Guides Phone Video Tutorials Phone Guides Fax Guides Stratus Mobile App Guides ES Mobile App Guides StratusHUB Guides ES Desktop App Guides
+ More

Table of Contents

Create a Smart Queue Create a Firewall Rule for VoIP Traffic Step 1: Create a New Rule Step 2: Create an Address Group Step 3: Create a Port Group Step 4: Finish Configuring the Source of the Rule Step 4: Configure the Destination of the Rule UniFi Access Points and Switches

WARNING: Configuring the settings of your USG may result in a restart. It is recommended to perform these changes outside of your normal office hours.

 

 


Create a Smart Queue

A Smart Queue option is available with UniFi Security Gateway that prioritizes traffic and minimizes delays when the router/bandwidth becomes overloaded. 

WARNING: Activating the Smart Queue option may reduce the maximum throughput. It is strongly recommended to monitor the available speed with and without Smart QoS enabled.

If you have connection speeds greater than 300Mbps, then it is recommended to NOT enable smart queues.

 

To activate this option…

  1. Log into your UniFi's web interface.
  2. Navigate to Settings → Networks → Internet.
  3. In the Networks list, click the Internet 1 option listed.
  4. In the Advanced section, select Smart Queues and set the Downrate and Uprate to match 80% of your network's speeds.
  5. Click the Save button.

 


Create a Firewall Rule for VoIP Traffic

To make sure the traffic from your SpectrumVoIP phones, softphones, and web applications do not experience any issues, a new firewall rule will need to be created. This rule would be set up to recognize and allow traffic coming from IP addresses used by SpectrumVoIP services. This rule would also ensure the ports used by our services are open for use.

Step 1: Create a New Rule

To create a new rule for your Unifi router…

  1. Access your UniFi's web interface.
  2. Navigate to Settings → Security.
  3. Create a new rule.
  4. In the top section, do the following:
    • Type - Select Internet In.
    • Name - Type an identifiable name, such as SpectrumVoIP
    • Action - Select Accept.
    • Protocol - Select TCP and UDP.

 

Step 2: Create an Address Group

For the Source section, an Address Group and Port Object will need to be created to ensure the IP addresses and ports used by SpectrumVoIP services are allowed.

  1. For the Address Group option of the Source section, click New.
  2. In the New Object menu, click Add Multiple.
  3. Type in the following IP addresses:
    • 199.71.209.0/24
    • 24.227.249.0/25
    • 72.249.136.32/28
    • 206.123.122.32/27
    • 212.69.157.32/27
    • 40.143.31.64/27
    • Text To Speech Services - TCP and UDP
      • 54.149.243.27:8000
      • 35.175.185.150:8000
      • 54.149.243.27:3001
      • 35.175.185.150:3001
    • StratusMEETING - TCP and UDP
      • 54.188.133.147:3443
      • 3.130.158.184:3443
      • 35.183.150.146:3443
  4. Click the Add button.
  5. In the New Object menu, click the Create button.

 

Step 3: Create a Port Group

  1. For the Port Object option of the SOURCE section, click New.
  2. In the New Object menu, type an identifiable Name, such as VoIP Ports.
  3. In the Port section, input the following ports:
    • Main Utilized Ports
      • 5060-5062 UDP - SIP
      • 20,000-40,000 UDP - RTP
      • 80, 443 TCP - HTTP/HTTPS
    • Portal Dynamic Updates
      • 8001 - TCP
    • Google's Firebase Cloud Messaging (FCM)
      • 443, 5228, 5229, 5230 - TCP
    • Apple's Push Notification Service (APNs)
      • 5223, 443, 2197 - TCP
    • StratusWEB PHONE
      • 9002 - TCP - websockets
  4. Click the Create button.

 

Step 4: Finish Configuring the Source of the Rule

Once you have created the “VoIP” Address Group and the “VoIP Object” Port Object, be sure to select these in the Source section of the new rule. 

Step 4: Configure the Destination of the Rule

  1. In the Destination section, use the Network dropdown to select the network or VLAN the phones will be connected to.
  2. Click the Add Rule button.

    ✔ You should now see a new Rule created that will protect SpectrumVoIP traffic.

     

 

UniFi Access Points and Switches

By default, The UniFi access points and switches will automatically map the DSCP value to a Wi-Fi Multimedia (WMM) priority. Voice is then automatically given highest priority on these devices, so no further changes are needed.

settings recommendation unifi firewall usg unifi security gateway configure firewall firewall settings for voip smart queue set firewall rules create address group create port group open firewall ports

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • How Do VoIP Phones Work?
  • Recommended Router and Firewall Settings
  • Contact Our Support Team
  • Recommended Fortinet Firewall Settings
  • Customer Stories
  • Hardware
  • Channel Partners
  • Pricing
  • Blog
  • Contact Us

Main Products

  • Business Phone Software
  • VoIP Features
  • VoIP Integrations
  • Stratus Managed Network
  • AI Business Surveillance
  • Internet

More Products

  • Stratus Web Portal
  • Stratus Fax
  • Emergency Lines
  • Business Texting
  • Business Cellular
  • Business Phone Hardware

Resources

  • About Us
  • FAQ
  • Careers
  • Support
  • Training
  • SpectrumVoIP Store

Connect

  • Facebook Fill 1 Created with Sketch.
  • Twitter Fill 1 Created with Sketch.
  • LinkedIn Group 2 Created with Sketch.
  • YouTube
  • Instagram
  • Pinterest

SpectrumVoIP Status

© SpectrumVoIP™ 2022. All Rights Reserved


Knowledge Base Software powered by Helpjuice

Main — (972) 312-0388 Sales — 866-506-3457 Support — (469) 429-2500 Terms of Service Privacy Policy
Expand