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

    Remote Administration of FreePBX

    IT Discussion
    freepbx 14 freepbx setup best practices remote management
    6
    16
    3.2k
    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.
    • black3dynamiteB
      black3dynamite
      last edited by

      How about setting up a reverse proxy server?
      You > Internet > Nginx Reverse Proxy > Internet > FreePBX WebUI

      Emad RE 1 Reply Last reply Reply Quote 0
      • Emad RE
        Emad R @EddieJennings
        last edited by

        @eddiejennings

        Check my method of using Nginx as reverse Proxy + TLS cert based auth

        https://mangolassi.it/topic/14787/how-to-setup-nginx-tls-certificate-based-authentication-vpn-alternative

        It works wonders when you have http website, that you want to connect to it from abroad.

        JaredBuschJ 1 Reply Last reply Reply Quote 0
        • Emad RE
          Emad R @black3dynamite
          last edited by

          @black3dynamite said in Remote Administration of FreePBX:

          How about setting up a reverse proxy server?
          You > Internet > Nginx Reverse Proxy > Internet > FreePBX WebUI

          Dam, we said the same thing the same time. But still I am more right

          black3dynamiteB 1 Reply Last reply Reply Quote 0
          • black3dynamiteB
            black3dynamite @Emad R
            last edited by

            @emad-r lol

            1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @Emad R
              last edited by

              @emad-r said in Remote Administration of FreePBX:

              @eddiejennings

              Check my method of using Nginx as reverse Proxy + TLS cert based auth

              https://mangolassi.it/topic/14787/how-to-setup-nginx-tls-certificate-based-authentication-vpn-alternative

              It works wonders when you have http website, that you want to connect to it from abroad.

              This is decently useful and provides a solid method from anywhere that you have this device with the certificate.

              Emad RE 1 Reply Last reply Reply Quote 0
              • Emad RE
                Emad R @JaredBusch
                last edited by

                @jaredbusch said in Remote Administration of FreePBX:

                @emad-r said in Remote Administration of FreePBX:

                @eddiejennings

                Check my method of using Nginx as reverse Proxy + TLS cert based auth

                https://mangolassi.it/topic/14787/how-to-setup-nginx-tls-certificate-based-authentication-vpn-alternative

                It works wonders when you have http website, that you want to connect to it from abroad.

                This is decently useful and provides a solid method from anywhere that you have this device with the certificate.

                What @JaredBusch commending my work, and not cursing it...

                This calls for celebration

                0_1503509018089_IMG_20170823_202025.jpg

                1 Reply Last reply Reply Quote 1
                • JaredBuschJ
                  JaredBusch @EddieJennings
                  last edited by

                  @eddiejennings said in Remote Administration of FreePBX:

                  For my FreePBX on Vultr tests, I've (though the wizard) configured the firewall to assign my office host (x.x.x.x/32) to the trusted zone and the eth0 interface on the FreePBX VM to the Internet zone. I'm curious how the @JaredBusch -folk of the world set up their system of remote configuration, since I imagine they're not administering various FreePBX systems from the same network all the time.

                  I believe I understand the idea of a jump box, and I can see one way of locking it down.

                  [host with SSH key for jump box] >>> Internet >>> [jump box likely with SSH keys] >>>> Internet >>>> [server to be administered]

                  Would you do the same kind of topology for something GUI-based like FreePBX, or do you just configure the Web Management service to be in the Internet zone and access it through HTTPS and have strong credentials? Or am I missing the mark and there's a better practice for handling administration of a FreePBX server from various networks?

                  First, I generally do not need to access things from everywhere. FreePBX is a fairly stable thing.

                  Second, I have a FQDN, via a dynamic DNS entry, setup in the firewall settings for all common locations I work from.

                  Third, I can also gain access by registering an extension successfully from a softphone on my laptop. That will set my current IP as a "Local"

                  If I need to do a one off thing, I just jump on ScreenConnect back to my desktop at home and do whatever.

                  If I need to do a lot of work, I will either jump to my desk and add my current IP or I will connect to the Vultr console and add my current IP from CLI.

                  fwconsole firewall add trust 111.222.333.444
                  
                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @gjacobse
                    last edited by

                    @gjacobse said in Remote Administration of FreePBX:

                    The JumpBox approach is great for CLI actions. But if you have to perform GUI commands.. I don't know that it would.

                    Ours works that way, lol. GUI works fine, too.

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

                      You can use Salt to dynamically open the firewall trusts when needed and close them afterwards.

                      JaredBuschJ 1 Reply Last reply Reply Quote 1
                      • JaredBuschJ
                        JaredBusch @scottalanmiller
                        last edited by

                        @scottalanmiller said in Remote Administration of FreePBX:

                        You can use Salt to dynamically open the firewall trusts when needed and close them afterwards.

                        No. Just no. Take your playtoy and GTFO.

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

                          @jaredbusch said in Remote Administration of FreePBX:

                          @scottalanmiller said in Remote Administration of FreePBX:

                          You can use Salt to dynamically open the firewall trusts when needed and close them afterwards.

                          No. Just no. Take your playtoy and GTFO.

                          It's actually a good way to go. So easy to change that rule and open a port for just your IP address temporarily and close it off when done. It's one of my favourite features to use. Also gives you (if you use GIT like we do) a record of when the port was opened, why and when it was closed again.

                          black3dynamiteB 1 Reply Last reply Reply Quote 0
                          • black3dynamiteB
                            black3dynamite @scottalanmiller
                            last edited by

                            @scottalanmiller said in Remote Administration of FreePBX:

                            Also gives you (if you use GIT like we do) a record of when the port was opened, why and when it was closed again.

                            How does that work?

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

                              @black3dynamite said in Remote Administration of FreePBX:

                              @scottalanmiller said in Remote Administration of FreePBX:

                              Also gives you (if you use GIT like we do) a record of when the port was opened, why and when it was closed again.

                              How does that work?

                              You commit your change to your local file system on your workstation. Then you commit it to the GIT repo. When you do this, GIT stores your change as well as the previous state of the system and you add a comment when you commit. This gives you a chance to say "Opening port to work on PBX" or whatever. Then when you are all done, change the firewall back, commit it, comment again saying you are done and closing it and it closes itself.

                              1 Reply Last reply Reply Quote 1
                              • 1 / 1
                              • First post
                                Last post