Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Inbound SIP Traffic

    Scheduled Pinned Locked Moved NAT
    9 Posts 4 Posters 2.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      Visseroth
      last edited by

      I have a router in place that has a network dedicated to the phones

      Let's say, 192.168.2.1

      I have noticed lately that the SIP provider's IP has been sending traffic to our network, source port 5060 but the destination port is random.

      All the phones connect to a service provider. There is no SIP server on site.

      My question is how do I handle that incoming SIP traffic. The phones seem to work but I believe some of the traffic is being dropped when it should not be. The firewall shows the traffic being stopped in the logs. Source IP, source port 5060 to destination IP (DSL) destination port is random.

      I have a NAT for SIP traffic as shown in https://doc.pfsense.org/index.php/VoIP_Configuration

      But that's for outgoing traffic, what about the incoming?

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        The VoIP phones initiate a state to the server end and keep it alive.  That's how the incoming calls can get through the firewall.  Are you sure you're not just seeing out of state traffic being blocked?

        1 Reply Last reply Reply Quote 0
        • V
          Visseroth
          last edited by

          It is possible but the source address is the provider's address.

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            Of course it is. That's where the packets are coming from.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • V
              Visseroth
              last edited by

              Exactly, and if there are packets coming from the provider there's likely a reason for it, question is why are they being dropped?

              1 Reply Last reply Reply Quote 0
              • chpalmerC
                chpalmer
                last edited by

                My provider has been doing this as well lately.  Traffic should be showing up as the LAN address  172.16.15.25  but this traffic shows up with the WAN address actually from the same server we register on and one other that we don't use that they own.

                It doesn't affect my use of the phones and if I wasn't seeing it in the logs we would never even know it happens.

                Triggering snowflakes one by one..
                Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                1 Reply Last reply Reply Quote 0
                • V
                  Visseroth
                  last edited by

                  I'll keep an eye on it, I just thought it weird and made me think that some traffic that should be getting through wasn't.

                  1 Reply Last reply Reply Quote 0
                  • KOMK
                    KOM
                    last edited by

                    question is why are they being dropped?

                    Could be due to an active state timing out and the connection being torn down on the pfSense end?  Unless you're actually having problems, I wouldn't worry about it.  If you are having an issue, explain and maybe we can track it down.  A lot of issues with VoIP phones can be due to a lack of traffic shaping that prioritizes your SIP traffic on a busy network, or latency issues with your VoIP provider.

                    1 Reply Last reply Reply Quote 0
                    • V
                      Visseroth
                      last edited by

                      I think you're right. I've been watching the logs and everything looks good now. I think there was an alert that triggered the blocking of the SIP provider which also caused further traffic to be dropped. I'm not sure which rule caused the blocked at this time but I am keeping an eye on it. I tried whitelisting an alias which contains a list of IPs that we frequent but snort throws a fit with the alias whitelisted.

                      Anyhow, it seems to be working atm, but I am watching it. Thanks for replying.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.