ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Alternatives to OpenVPN for FreePBX on cell phone...

    Scheduled Pinned Locked Moved IT Discussion
    freepbxopenvpnandroidzoiperzululinphonepbxtelephonyvpnresponsive firewallsangomavoip
    60 Posts 7 Posters 6.2k 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.
    • M
      manxam @1337
      last edited by manxam

      @Pete-S : within the GUI there are no available options for tailoring OpenVPN unfortunately.

      The client config that it generates is :

      # Configuration automatically generated via Sysadmin RPM
      # MODIFICATIONS TO THIS FILE WILL BE OVERWRITTEN.
      # Generated at: Sun, 13 Jan 2019 03:33:14 +0000
      client
      dev tun
      proto udp
      resolv-retry 60
      nobind
      persist-key
      persist-tun
      remote-cert-tls server
      ca sysadmin_ca.crt
      cert sysadmin_client1.crt
      key sysadmin_client1.key
      comp-lzo
      verb 3
      remote x.x.x.x 1194
      remote x.x.x.x 1194
      

      The server config is :

      # Configuration automatically generated via Sysadmin RPM
      # MODIFICATIONS TO THIS FILE WILL BE OVERWRITTEN.
      # Generated at: Sun, 13 Jan 2019 03:33:14 +0000
      port 1194
      proto udp
      dev tun
      topology subnet
      ca sysadmin_ca.crt
      dh sysadmin_dh.pem
      crl-verify sysadmin_crl.pem
      cert sysadmin_server1.crt
      key sysadmin_server1.key
      ifconfig-pool-persist ipp.txt
      #keepalive 10 120
      keepalive 300 900
      comp-lzo
      persist-key
      persist-tun
      verb 3
      client-config-dir ccd
      ccd-exclusive
      status sysadmin_server1-status.log 10
      status-version 3
      script-security 2
      server 10.8.0.0 255.255.255.0
      

      Note the header stating that this file will be overritten so I'm not certain how "permanent" this will be nor do I see information regarding encryption type (though do see the compression).

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @manxam
        last edited by

        @manxam said in Alternatives to OpenVPN for VoiP on cell phone...:

        @scottalanmiller : Yeah, I'm not really certain what that software does..
        "dSIPRouter can be used to implement different use cases within minutes"

        Ummm, then this shows a few examples but I'm not certain of the use case for any of these...

        that's where I was. I get that it is a proxy, but I don't get what problem it is solving. It seems to just move the problem, not remove it.

        DashrenderD 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @1337
          last edited by

          @Pete-S said in Alternatives to OpenVPN for VoiP on cell phone...:

          You should probably turn of compression too as voip is already compressed. Just takes more battery power to compress something that is compressed already.

          Good point, watch for double compression.

          1 Reply Last reply Reply Quote 0
          • DashrenderD
            Dashrender @scottalanmiller
            last edited by

            @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

            @manxam said in Alternatives to OpenVPN for VoiP on cell phone...:

            @scottalanmiller : Yeah, I'm not really certain what that software does..
            "dSIPRouter can be used to implement different use cases within minutes"

            Ummm, then this shows a few examples but I'm not certain of the use case for any of these...

            that's where I was. I get that it is a proxy, but I don't get what problem it is solving. It seems to just move the problem, not remove it.

            Well if the proxy can solve the firewall lockout issue on mobile devices and changing IPs... but then, if the Proxy can solve it - why can't the firewall in FreePBX?

            M scottalanmillerS 2 Replies Last reply Reply Quote 0
            • M
              manxam @Dashrender
              last edited by

              @Dashrender : FreePBX uses a really stupid implementation IMO.
              The responsive firewall bans a user if they have connected but not registered in X time. This is sane.
              But fail2ban remains on with it and bans the IP before the responsive firewall is given time to check for registration.

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @Dashrender
                last edited by

                @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

                @manxam said in Alternatives to OpenVPN for VoiP on cell phone...:

                @scottalanmiller : Yeah, I'm not really certain what that software does..
                "dSIPRouter can be used to implement different use cases within minutes"

                Ummm, then this shows a few examples but I'm not certain of the use case for any of these...

                that's where I was. I get that it is a proxy, but I don't get what problem it is solving. It seems to just move the problem, not remove it.

                Well if the proxy can solve the firewall lockout issue on mobile devices and changing IPs... but then, if the Proxy can solve it - why can't the firewall in FreePBX?

                But how can it? Sounds like all it does is disable the firewall, right? You can do that by just... disabling it! Seems pretty silly to implement an entirely separate system just to work around a firewall that you can just turn off with a button.

                DashrenderD 1 Reply Last reply Reply Quote 0
                • DashrenderD
                  Dashrender @scottalanmiller
                  last edited by

                  @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

                  @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                  @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

                  @manxam said in Alternatives to OpenVPN for VoiP on cell phone...:

                  @scottalanmiller : Yeah, I'm not really certain what that software does..
                  "dSIPRouter can be used to implement different use cases within minutes"

                  Ummm, then this shows a few examples but I'm not certain of the use case for any of these...

                  that's where I was. I get that it is a proxy, but I don't get what problem it is solving. It seems to just move the problem, not remove it.

                  Well if the proxy can solve the firewall lockout issue on mobile devices and changing IPs... but then, if the Proxy can solve it - why can't the firewall in FreePBX?

                  But how can it? Sounds like all it does is disable the firewall, right? You can do that by just... disabling it! Seems pretty silly to implement an entirely separate system just to work around a firewall that you can just turn off with a button.

                  eh? I have no idea how it actually works.

                  But assuming it takes more false hits to get something blocked in this proxy's firewall than it does in FreePBX's firewall, then that would solve the problem.

                  But then the question is can FreePBX's firewall be changed to make it wait say 30 second from connection to logon before blocking it (this is just a guess, I don't know why it's actually failing/blocking the remote phones other than of course it's coming from a new IP).

                  scottalanmillerS 2 Replies Last reply Reply Quote 0
                  • M
                    manxam
                    last edited by manxam

                    From Sangoma a year ago. Still no progress made on this it seems...

                    The problem is after your phone registers is slamming the server with packets before the firewall is picked up it was registered as their is a delay so after 10 packets which happen really fast for some reason on your client it gets blacklisted.
                    To solve this we need to move the checking for registration to watch the AMI so we see it real-time instead of checking every 15 seconds like we do now as your client is slamming the server with packets before we see it registered.

                    DashrenderD 1 Reply Last reply Reply Quote 1
                    • scottalanmillerS
                      scottalanmiller @Dashrender
                      last edited by

                      @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                      @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

                      @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                      @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

                      @manxam said in Alternatives to OpenVPN for VoiP on cell phone...:

                      @scottalanmiller : Yeah, I'm not really certain what that software does..
                      "dSIPRouter can be used to implement different use cases within minutes"

                      Ummm, then this shows a few examples but I'm not certain of the use case for any of these...

                      that's where I was. I get that it is a proxy, but I don't get what problem it is solving. It seems to just move the problem, not remove it.

                      Well if the proxy can solve the firewall lockout issue on mobile devices and changing IPs... but then, if the Proxy can solve it - why can't the firewall in FreePBX?

                      But how can it? Sounds like all it does is disable the firewall, right? You can do that by just... disabling it! Seems pretty silly to implement an entirely separate system just to work around a firewall that you can just turn off with a button.

                      eh? I have no idea how it actually works.

                      But assuming it takes more false hits to get something blocked in this proxy's firewall than it does in FreePBX's firewall, then that would solve the problem.

                      Sure, but that's not even suggested as a possibility. If that's happening, then great, but that's like saying "why is this rock better than a car" and then responding "well if the rock goes faster, costs less and gets better gas mileage." Well sure, but why would we think that about a rock?

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @Dashrender
                        last edited by

                        @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                        But then the question is can FreePBX's firewall be changed to make it wait say 30 second from connection to logon before blocking it (this is just a guess, I don't know why it's actually failing/blocking the remote phones other than of course it's coming from a new IP).

                        No, I don't believe that it can be tuned in any way.

                        DashrenderD 1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender @scottalanmiller
                          last edited by

                          @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

                          @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                          But then the question is can FreePBX's firewall be changed to make it wait say 30 second from connection to logon before blocking it (this is just a guess, I don't know why it's actually failing/blocking the remote phones other than of course it's coming from a new IP).

                          No, I don't believe that it can be tuned in any way.

                          Well, not by us anyway.

                          1 Reply Last reply Reply Quote 0
                          • DashrenderD
                            Dashrender @manxam
                            last edited by

                            @manxam said in Alternatives to OpenVPN for VoiP on cell phone...:

                            From Sangoma a year ago. Still no progress made on this it seems...

                            The problem is after your phone registers is slamming the server with packets before the firewall is picked up it was registered as their is a delay so after 10 packets which happen really fast for some reason on your client it gets blacklisted.
                            To solve this we need to move the checking for registration to watch the AMI so we see it real-time instead of checking every 15 seconds like we do now as your client is slamming the server with packets before we see it registered.

                            /sigh - so they know the problem - and still haven't solved it.

                            I know it could mean 1000 or 100,000 more hits, but if the lengthen the time before the ban wouldn't that solve it? What's the chance of hitting a correct password when randomly guessing 100,000 times versus (what is it today?)?

                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @Dashrender
                              last edited by

                              @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                              @manxam said in Alternatives to OpenVPN for VoiP on cell phone...:

                              From Sangoma a year ago. Still no progress made on this it seems...

                              The problem is after your phone registers is slamming the server with packets before the firewall is picked up it was registered as their is a delay so after 10 packets which happen really fast for some reason on your client it gets blacklisted.
                              To solve this we need to move the checking for registration to watch the AMI so we see it real-time instead of checking every 15 seconds like we do now as your client is slamming the server with packets before we see it registered.

                              /sigh - so they know the problem - and still haven't solved it.

                              I know it could mean 1000 or 100,000 more hits, but if the lengthen the time before the ban wouldn't that solve it? What's the chance of hitting a correct password when randomly guessing 100,000 times versus (what is it today?)?

                              It would certainly help. But just fixing the mechanism is the better approach.

                              DashrenderD 1 Reply Last reply Reply Quote 0
                              • DashrenderD
                                Dashrender @scottalanmiller
                                last edited by

                                @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

                                @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                                @manxam said in Alternatives to OpenVPN for VoiP on cell phone...:

                                From Sangoma a year ago. Still no progress made on this it seems...

                                The problem is after your phone registers is slamming the server with packets before the firewall is picked up it was registered as their is a delay so after 10 packets which happen really fast for some reason on your client it gets blacklisted.
                                To solve this we need to move the checking for registration to watch the AMI so we see it real-time instead of checking every 15 seconds like we do now as your client is slamming the server with packets before we see it registered.

                                /sigh - so they know the problem - and still haven't solved it.

                                I know it could mean 1000 or 100,000 more hits, but if the lengthen the time before the ban wouldn't that solve it? What's the chance of hitting a correct password when randomly guessing 100,000 times versus (what is it today?)?

                                It would certainly help. But just fixing the mechanism is the better approach.

                                which mechanism? you mean the approach to look at the registration in real time, instead of every 15 seconds? I suppose - I have no idea what kind of load that would put on the system?

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @Dashrender
                                  last edited by

                                  @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                                  @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

                                  @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                                  @manxam said in Alternatives to OpenVPN for VoiP on cell phone...:

                                  From Sangoma a year ago. Still no progress made on this it seems...

                                  The problem is after your phone registers is slamming the server with packets before the firewall is picked up it was registered as their is a delay so after 10 packets which happen really fast for some reason on your client it gets blacklisted.
                                  To solve this we need to move the checking for registration to watch the AMI so we see it real-time instead of checking every 15 seconds like we do now as your client is slamming the server with packets before we see it registered.

                                  /sigh - so they know the problem - and still haven't solved it.

                                  I know it could mean 1000 or 100,000 more hits, but if the lengthen the time before the ban wouldn't that solve it? What's the chance of hitting a correct password when randomly guessing 100,000 times versus (what is it today?)?

                                  It would certainly help. But just fixing the mechanism is the better approach.

                                  which mechanism? you mean the approach to look at the registration in real time, instead of every 15 seconds? I suppose - I have no idea what kind of load that would put on the system?

                                  Right, that when there is a change it triggers a new registration which checks authentication. There are proposals for how to do it, but nothing done about it.

                                  Trivial load, way, way, way less than running a VPN.

                                  DashrenderD 1 Reply Last reply Reply Quote 0
                                  • DashrenderD
                                    Dashrender @scottalanmiller
                                    last edited by

                                    @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

                                    @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                                    @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

                                    @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                                    @manxam said in Alternatives to OpenVPN for VoiP on cell phone...:

                                    From Sangoma a year ago. Still no progress made on this it seems...

                                    The problem is after your phone registers is slamming the server with packets before the firewall is picked up it was registered as their is a delay so after 10 packets which happen really fast for some reason on your client it gets blacklisted.
                                    To solve this we need to move the checking for registration to watch the AMI so we see it real-time instead of checking every 15 seconds like we do now as your client is slamming the server with packets before we see it registered.

                                    /sigh - so they know the problem - and still haven't solved it.

                                    I know it could mean 1000 or 100,000 more hits, but if the lengthen the time before the ban wouldn't that solve it? What's the chance of hitting a correct password when randomly guessing 100,000 times versus (what is it today?)?

                                    It would certainly help. But just fixing the mechanism is the better approach.

                                    which mechanism? you mean the approach to look at the registration in real time, instead of every 15 seconds? I suppose - I have no idea what kind of load that would put on the system?

                                    Right, that when there is a change it triggers a new registration which checks authentication. There are proposals for how to do it, but nothing done about it.

                                    Trivial load, way, way, way less than running a VPN.

                                    Yet, we still haven't seen a solution to this. thoughts as to why? No one is really using it? I find that hard to believe - perhaps people try and just give up instead of complaining/reporting it.

                                    M scottalanmillerS 2 Replies Last reply Reply Quote 0
                                    • M
                                      manxam @Dashrender
                                      last edited by

                                      @Dashrender : From reading their forum and reddit, it appears that most people give up and go the VPN route.
                                      There's never been a clear and concise answer from Sangoma.

                                      There were a few mentions of Zulu as an alternative, but Zulu 3 is the only supported version currently and both iOS and Android in beta for (~6 months with only one-or-two updates each in that time) The android beta does not get notification of calls unless it's currently sitting open on the device.

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @Dashrender
                                        last edited by

                                        @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                                        @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

                                        @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                                        @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

                                        @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                                        @manxam said in Alternatives to OpenVPN for VoiP on cell phone...:

                                        From Sangoma a year ago. Still no progress made on this it seems...

                                        The problem is after your phone registers is slamming the server with packets before the firewall is picked up it was registered as their is a delay so after 10 packets which happen really fast for some reason on your client it gets blacklisted.
                                        To solve this we need to move the checking for registration to watch the AMI so we see it real-time instead of checking every 15 seconds like we do now as your client is slamming the server with packets before we see it registered.

                                        /sigh - so they know the problem - and still haven't solved it.

                                        I know it could mean 1000 or 100,000 more hits, but if the lengthen the time before the ban wouldn't that solve it? What's the chance of hitting a correct password when randomly guessing 100,000 times versus (what is it today?)?

                                        It would certainly help. But just fixing the mechanism is the better approach.

                                        which mechanism? you mean the approach to look at the registration in real time, instead of every 15 seconds? I suppose - I have no idea what kind of load that would put on the system?

                                        Right, that when there is a change it triggers a new registration which checks authentication. There are proposals for how to do it, but nothing done about it.

                                        Trivial load, way, way, way less than running a VPN.

                                        Yet, we still haven't seen a solution to this. thoughts as to why? No one is really using it? I find that hard to believe - perhaps people try and just give up instead of complaining/reporting it.

                                        I don't think that it really affects all that many people.

                                        DashrenderD 1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @manxam
                                          last edited by

                                          @manxam said in Alternatives to OpenVPN for VoiP on cell phone...:

                                          @Dashrender : From reading their forum and reddit, it appears that most people give up and go the VPN route.
                                          There's never been a clear and concise answer from Sangoma.

                                          There were a few mentions of Zulu as an alternative, but Zulu 3 is the only supported version currently and both iOS and Android in beta for (~6 months with only one-or-two updates each in that time) The android beta does not get notification of calls unless it's currently sitting open on the device.

                                          Maybe they are pushing Zulu?

                                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                                          • DashrenderD
                                            Dashrender @scottalanmiller
                                            last edited by

                                            @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

                                            @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                                            @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

                                            @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                                            @scottalanmiller said in Alternatives to OpenVPN for VoiP on cell phone...:

                                            @Dashrender said in Alternatives to OpenVPN for VoiP on cell phone...:

                                            @manxam said in Alternatives to OpenVPN for VoiP on cell phone...:

                                            From Sangoma a year ago. Still no progress made on this it seems...

                                            The problem is after your phone registers is slamming the server with packets before the firewall is picked up it was registered as their is a delay so after 10 packets which happen really fast for some reason on your client it gets blacklisted.
                                            To solve this we need to move the checking for registration to watch the AMI so we see it real-time instead of checking every 15 seconds like we do now as your client is slamming the server with packets before we see it registered.

                                            /sigh - so they know the problem - and still haven't solved it.

                                            I know it could mean 1000 or 100,000 more hits, but if the lengthen the time before the ban wouldn't that solve it? What's the chance of hitting a correct password when randomly guessing 100,000 times versus (what is it today?)?

                                            It would certainly help. But just fixing the mechanism is the better approach.

                                            which mechanism? you mean the approach to look at the registration in real time, instead of every 15 seconds? I suppose - I have no idea what kind of load that would put on the system?

                                            Right, that when there is a change it triggers a new registration which checks authentication. There are proposals for how to do it, but nothing done about it.

                                            Trivial load, way, way, way less than running a VPN.

                                            Yet, we still haven't seen a solution to this. thoughts as to why? No one is really using it? I find that hard to believe - perhaps people try and just give up instead of complaining/reporting it.

                                            I don't think that it really affects all that many people.

                                            This just seems crazy to me. I would anticipate it to be highly desirable. For sales people and bench techs. My Docs would love to make calls as if coming from the office to protect their cellphone numbers, etc..

                                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post