Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-21742

Firewall doesn't block other ports than 5060 and 5160

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 14, 15
    • Fix Version/s: None
    • Labels:
      None

      Description

      Hi guys!

      If you change chan_sip to another port different than 5060 or 5160, firewall will allows you to register to the PBX, no mather if Responsive firewall is disabled, or the ip you are using to register is not whitelisted.

       

      I just changed chan_sip to port 4399, and I was able to TRY to register an extension with my 4g cellphone network (ip is not whitelisted and responsive firewall is OFF)

       

      
      [2020-08-04 22:49:42] NOTICE[13696]: chan_sip.c:29029 handle_request_register: Registration from '<sip:100001@mypbx.rocks>' failed for '186.111.156.138:52621' - Wrong password
      [2020-08-04 22:49:42] NOTICE[13696]: chan_sip.c:29029 handle_request_register: Registration from '<sip:100001@mypbx.rocks>' failed for '186.111.156.138:52621' - Wrong password
      [2020-08-04 22:49:43] NOTICE[13696]: chan_sip.c:29029 handle_request_register: Registration from '<sip:100001@mypbx.rocks>' failed for '186.111.156.138:52621' - Wrong password
       -- Remote UNIX connection
       -- Remote UNIX connection disconnected
      [2020-08-04 22:49:48] NOTICE[13696]: chan_sip.c:29029 handle_request_register: Registration from '<sip:100001@mypbx.rocks>' failed for '186.111.156.138:52622' - Wrong password
      [2020-08-04 22:49:48] NOTICE[13696]: chan_sip.c:29029 handle_request_register: Registration from '<sip:100001@mypbx.rocks>' failed for '186.111.156.138:52622' - Wrong password
      [2020-08-04 22:49:48] NOTICE[13696]: chan_sip.c:29029 handle_request_register: Registration from '<sip:100001@mypbx.rocks>' failed for '186.111.156.138:52622' - Wrong password

       

      If I revert the changes and I set chan_sip to 5160, I cannot register (I don't see any failed registrations attempts like I saw before)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                slobera Sergio Lobera
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.