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

    Secure Meshcentral server on Vultr

    IT Discussion
    meshcentral mc ssh keys
    8
    40
    2.4k
    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.
    • dafyreD
      dafyre @pmoncho
      last edited by

      @pmoncho said in Secure Meshcentral server on Vultr:

      @Dashrender said in Secure Meshcentral server on Vultr:

      @pmoncho said in Secure Meshcentral server on Vultr:

      @Reid-Cooper said in Secure Meshcentral server on Vultr:

      @pmoncho said in Secure Meshcentral server on Vultr:

      Vultr Firewall setup (I don't believe I need this as UFW is setup on Ubuntu)

      Less portable that way. Why not do it the normal way?

      Little lost here. What is the "normal way?"

      Basically, I setup the Vultr FW because I wanted to make sure the MC server had a FW up front during the initial install and config. After setting up UFW on Ubuntu, I realized that I may no longer need it.

      Is that really a risk during install though? What ports are open during install that would make this a concern?

      Truth is, I have no idea. Most likely not though. Just enabled it until I had the OS installed, opened the SSH port so I could get in from my IP and configured UFW on Ubuntu. Just never disabled the Vultr FW. Figure it didn't hurt so I kept it.

      I guess its just personal trust issues. I even sometimes like my car doors while parked in my garage with a garage door opener and locked side door. Weird I know! πŸ™‚

      A little paranoia isn't a bad thing... but I think you may be tiptoeing the line.

      pmonchoP 1 Reply Last reply Reply Quote 0
      • pmonchoP
        pmoncho @dafyre
        last edited by

        @dafyre said in Secure Meshcentral server on Vultr:

        @pmoncho said in Secure Meshcentral server on Vultr:

        @Dashrender said in Secure Meshcentral server on Vultr:

        @pmoncho said in Secure Meshcentral server on Vultr:

        @Reid-Cooper said in Secure Meshcentral server on Vultr:

        @pmoncho said in Secure Meshcentral server on Vultr:

        Vultr Firewall setup (I don't believe I need this as UFW is setup on Ubuntu)

        Less portable that way. Why not do it the normal way?

        Little lost here. What is the "normal way?"

        Basically, I setup the Vultr FW because I wanted to make sure the MC server had a FW up front during the initial install and config. After setting up UFW on Ubuntu, I realized that I may no longer need it.

        Is that really a risk during install though? What ports are open during install that would make this a concern?

        Truth is, I have no idea. Most likely not though. Just enabled it until I had the OS installed, opened the SSH port so I could get in from my IP and configured UFW on Ubuntu. Just never disabled the Vultr FW. Figure it didn't hurt so I kept it.

        I guess its just personal trust issues. I even sometimes like my car doors while parked in my garage with a garage door opener and locked side door. Weird I know! πŸ™‚

        A little paranoia isn't a bad thing... but I think you may be tiptoeing the line.

        No doubt. Have to let go a little.

        dafyreD 1 Reply Last reply Reply Quote 0
        • dafyreD
          dafyre @pmoncho
          last edited by

          @pmoncho said in Secure Meshcentral server on Vultr:

          @dafyre said in Secure Meshcentral server on Vultr:

          @pmoncho said in Secure Meshcentral server on Vultr:

          @Dashrender said in Secure Meshcentral server on Vultr:

          @pmoncho said in Secure Meshcentral server on Vultr:

          @Reid-Cooper said in Secure Meshcentral server on Vultr:

          @pmoncho said in Secure Meshcentral server on Vultr:

          Vultr Firewall setup (I don't believe I need this as UFW is setup on Ubuntu)

          Less portable that way. Why not do it the normal way?

          Little lost here. What is the "normal way?"

          Basically, I setup the Vultr FW because I wanted to make sure the MC server had a FW up front during the initial install and config. After setting up UFW on Ubuntu, I realized that I may no longer need it.

          Is that really a risk during install though? What ports are open during install that would make this a concern?

          Truth is, I have no idea. Most likely not though. Just enabled it until I had the OS installed, opened the SSH port so I could get in from my IP and configured UFW on Ubuntu. Just never disabled the Vultr FW. Figure it didn't hurt so I kept it.

          I guess its just personal trust issues. I even sometimes like my car doors while parked in my garage with a garage door opener and locked side door. Weird I know! πŸ™‚

          A little paranoia isn't a bad thing... but I think you may be tiptoeing the line.

          No doubt. Have to let go a little.

          But only a little. Don't want somebody to steal your car when they get into your garage. πŸ˜‰

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

            @dafyre said in Secure Meshcentral server on Vultr:

            @pmoncho said in Secure Meshcentral server on Vultr:

            @dafyre said in Secure Meshcentral server on Vultr:

            @pmoncho said in Secure Meshcentral server on Vultr:

            @Dashrender said in Secure Meshcentral server on Vultr:

            @pmoncho said in Secure Meshcentral server on Vultr:

            @Reid-Cooper said in Secure Meshcentral server on Vultr:

            @pmoncho said in Secure Meshcentral server on Vultr:

            Vultr Firewall setup (I don't believe I need this as UFW is setup on Ubuntu)

            Less portable that way. Why not do it the normal way?

            Little lost here. What is the "normal way?"

            Basically, I setup the Vultr FW because I wanted to make sure the MC server had a FW up front during the initial install and config. After setting up UFW on Ubuntu, I realized that I may no longer need it.

            Is that really a risk during install though? What ports are open during install that would make this a concern?

            Truth is, I have no idea. Most likely not though. Just enabled it until I had the OS installed, opened the SSH port so I could get in from my IP and configured UFW on Ubuntu. Just never disabled the Vultr FW. Figure it didn't hurt so I kept it.

            I guess its just personal trust issues. I even sometimes like my car doors while parked in my garage with a garage door opener and locked side door. Weird I know! πŸ™‚

            A little paranoia isn't a bad thing... but I think you may be tiptoeing the line.

            No doubt. Have to let go a little.

            But only a little. Don't want somebody to steal your car when they get into your garage. πŸ˜‰

            Lol - they'd still likely need the keys - so even having open doors doesn't really help the crook.

            pmonchoP 1 Reply Last reply Reply Quote 0
            • pmonchoP
              pmoncho @Dashrender
              last edited by

              @Dashrender said in Secure Meshcentral server on Vultr:

              @dafyre said in Secure Meshcentral server on Vultr:

              @pmoncho said in Secure Meshcentral server on Vultr:

              @dafyre said in Secure Meshcentral server on Vultr:

              @pmoncho said in Secure Meshcentral server on Vultr:

              @Dashrender said in Secure Meshcentral server on Vultr:

              @pmoncho said in Secure Meshcentral server on Vultr:

              @Reid-Cooper said in Secure Meshcentral server on Vultr:

              @pmoncho said in Secure Meshcentral server on Vultr:

              Vultr Firewall setup (I don't believe I need this as UFW is setup on Ubuntu)

              Less portable that way. Why not do it the normal way?

              Little lost here. What is the "normal way?"

              Basically, I setup the Vultr FW because I wanted to make sure the MC server had a FW up front during the initial install and config. After setting up UFW on Ubuntu, I realized that I may no longer need it.

              Is that really a risk during install though? What ports are open during install that would make this a concern?

              Truth is, I have no idea. Most likely not though. Just enabled it until I had the OS installed, opened the SSH port so I could get in from my IP and configured UFW on Ubuntu. Just never disabled the Vultr FW. Figure it didn't hurt so I kept it.

              I guess its just personal trust issues. I even sometimes like my car doors while parked in my garage with a garage door opener and locked side door. Weird I know! πŸ™‚

              A little paranoia isn't a bad thing... but I think you may be tiptoeing the line.

              No doubt. Have to let go a little.

              But only a little. Don't want somebody to steal your car when they get into your garage. πŸ˜‰

              Lol - they'd still likely need the keys - so even having open doors doesn't really help the crook.

              Crook needs no keys. That is the scary part. Metal shim, wire cutter/stripper, electrical tape and possibly screw driver. Jimmy lock, strip wires, connect to get it out of park, push to end of driveway, connect to start up and away they go. Ugh. To much Black Mirror and Mr. Robot.

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

                @pmoncho said in Secure Meshcentral server on Vultr:

                @Dashrender said in Secure Meshcentral server on Vultr:

                @dafyre said in Secure Meshcentral server on Vultr:

                @pmoncho said in Secure Meshcentral server on Vultr:

                @dafyre said in Secure Meshcentral server on Vultr:

                @pmoncho said in Secure Meshcentral server on Vultr:

                @Dashrender said in Secure Meshcentral server on Vultr:

                @pmoncho said in Secure Meshcentral server on Vultr:

                @Reid-Cooper said in Secure Meshcentral server on Vultr:

                @pmoncho said in Secure Meshcentral server on Vultr:

                Vultr Firewall setup (I don't believe I need this as UFW is setup on Ubuntu)

                Less portable that way. Why not do it the normal way?

                Little lost here. What is the "normal way?"

                Basically, I setup the Vultr FW because I wanted to make sure the MC server had a FW up front during the initial install and config. After setting up UFW on Ubuntu, I realized that I may no longer need it.

                Is that really a risk during install though? What ports are open during install that would make this a concern?

                Truth is, I have no idea. Most likely not though. Just enabled it until I had the OS installed, opened the SSH port so I could get in from my IP and configured UFW on Ubuntu. Just never disabled the Vultr FW. Figure it didn't hurt so I kept it.

                I guess its just personal trust issues. I even sometimes like my car doors while parked in my garage with a garage door opener and locked side door. Weird I know! πŸ™‚

                A little paranoia isn't a bad thing... but I think you may be tiptoeing the line.

                No doubt. Have to let go a little.

                But only a little. Don't want somebody to steal your car when they get into your garage. πŸ˜‰

                Lol - they'd still likely need the keys - so even having open doors doesn't really help the crook.

                Crook needs no keys. That is the scary part. Metal shim, wire cutter/stripper, electrical tape and possibly screw driver. Jimmy lock, strip wires, connect to get it out of park, push to end of driveway, connect to start up and away they go. Ugh. To much Black Mirror and Mr. Robot.

                Yeah - the main temper to that around here is - what are the chances of YOU being a target? and what percentage of crooks are going to have those skills? I don't know you, so I can't see what your level of being targeted are, but the % of crooks with the skills are very low.

                pmonchoP 1 Reply Last reply Reply Quote 1
                • pmonchoP
                  pmoncho @Dashrender
                  last edited by

                  @Dashrender said in Secure Meshcentral server on Vultr:

                  @pmoncho said in Secure Meshcentral server on Vultr:

                  @Dashrender said in Secure Meshcentral server on Vultr:

                  @dafyre said in Secure Meshcentral server on Vultr:

                  @pmoncho said in Secure Meshcentral server on Vultr:

                  @dafyre said in Secure Meshcentral server on Vultr:

                  @pmoncho said in Secure Meshcentral server on Vultr:

                  @Dashrender said in Secure Meshcentral server on Vultr:

                  @pmoncho said in Secure Meshcentral server on Vultr:

                  @Reid-Cooper said in Secure Meshcentral server on Vultr:

                  @pmoncho said in Secure Meshcentral server on Vultr:

                  Vultr Firewall setup (I don't believe I need this as UFW is setup on Ubuntu)

                  Less portable that way. Why not do it the normal way?

                  Little lost here. What is the "normal way?"

                  Basically, I setup the Vultr FW because I wanted to make sure the MC server had a FW up front during the initial install and config. After setting up UFW on Ubuntu, I realized that I may no longer need it.

                  Is that really a risk during install though? What ports are open during install that would make this a concern?

                  Truth is, I have no idea. Most likely not though. Just enabled it until I had the OS installed, opened the SSH port so I could get in from my IP and configured UFW on Ubuntu. Just never disabled the Vultr FW. Figure it didn't hurt so I kept it.

                  I guess its just personal trust issues. I even sometimes like my car doors while parked in my garage with a garage door opener and locked side door. Weird I know! πŸ™‚

                  A little paranoia isn't a bad thing... but I think you may be tiptoeing the line.

                  No doubt. Have to let go a little.

                  But only a little. Don't want somebody to steal your car when they get into your garage. πŸ˜‰

                  Lol - they'd still likely need the keys - so even having open doors doesn't really help the crook.

                  Crook needs no keys. That is the scary part. Metal shim, wire cutter/stripper, electrical tape and possibly screw driver. Jimmy lock, strip wires, connect to get it out of park, push to end of driveway, connect to start up and away they go. Ugh. To much Black Mirror and Mr. Robot.

                  Yeah - the main temper to that around here is - what are the chances of YOU being a target? and what percentage of crooks are going to have those skills? I don't know you, so I can't see what your level of being targeted are, but the % of crooks with the skills are very low.

                  I am just a suburbanite in Ohio. Where I'm at I know the % of being a target is pretty low.

                  The rational side of me so gets that. I get into that paranoia state and eventually (after long while of stability) get to the "just cause its possible doesn't mean its probable" state. Getting to the latter state sooner is my issue.

                  Side Note - The confidence, along with knowledge and experience, of the posters here in all aspects of IT, keeps me in awe (I mean that in a very good way).

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

                    @pmoncho said in Secure Meshcentral server on Vultr:

                    I went the LTS route as I used Vultr's image and its what I know at the moment. No other reason.

                    What do you mean? You have to intentionally select one of the older versions on Vultr to not be up to date. The top choice is, and has been basically since release day, the current version. They always OFFER out of date versions for people who desire or require that, but they don't promote them in any way.

                    Screenshot from 2019-03-07 10-05-44.png

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

                      @pmoncho said in Secure Meshcentral server on Vultr:

                      @Reid-Cooper said in Secure Meshcentral server on Vultr:

                      @pmoncho said in Secure Meshcentral server on Vultr:

                      Vultr Firewall setup (I don't believe I need this as UFW is setup on Ubuntu)

                      Less portable that way. Why not do it the normal way?

                      Little lost here. What is the "normal way?"

                      Basically, I setup the Vultr FW because I wanted to make sure the MC server had a FW up front during the initial install and config. After setting up UFW on Ubuntu, I realized that I may no longer need it.

                      Isn't Ubuntu's firewall on by default? Maybe not. But still, it doesn't make any difference if your services are not running.

                      It's just extra work and complication to troubleshoot, IMHO.

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

                        @scottalanmiller said in Secure Meshcentral server on Vultr:

                        Isn't Ubuntu's firewall on by default?

                        UFW is not installed or enabled by default.

                        But it just manages iptables, and that is active I believe. but minimally. SSH works without letting anything through. prior to enabling UFW.

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

                          @JaredBusch said in Secure Meshcentral server on Vultr:

                          @scottalanmiller said in Secure Meshcentral server on Vultr:

                          Isn't Ubuntu's firewall on by default?

                          UFW is not installed or enabled by default.

                          But it just manages iptables, and that is active I believe. but minimally. SSH works without letting anything through. prior to enabling UFW.

                          Oh, that makes more sense. Firewall is on, firewall manager is absent.

                          dbeatoD 1 Reply Last reply Reply Quote 0
                          • pmonchoP
                            pmoncho @scottalanmiller
                            last edited by

                            @scottalanmiller said in Secure Meshcentral server on Vultr:

                            @pmoncho said in Secure Meshcentral server on Vultr:

                            I went the LTS route as I used Vultr's image and its what I know at the moment. No other reason.

                            What do you mean? You have to intentionally select one of the older versions on Vultr to not be up to date. The top choice is, and has been basically since release day, the current version. They always OFFER out of date versions for people who desire or require that, but they don't promote them in any way.

                            Screenshot from 2019-03-07 10-05-44.png

                            I missed that. I was just "blinded" once I saw the 18.04. Habit apparently. Really have to stop that.

                            As for the FW, I didn't know if it was on, off or otherwise so I just set it up. For this single instance, management is not a factor.

                            @JaredBusch
                            Thanks for the confirmation on the FW and SSH. Will take that knowledge forward.

                            scottalanmillerS JaredBuschJ 2 Replies Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @pmoncho
                              last edited by

                              @pmoncho said in Secure Meshcentral server on Vultr:

                              I missed that. I was just "blinded" once I saw the 18.04. Habit apparently. Really have to stop that.

                              That's what I suspect happens throughout the Ubuntu ecosystem. Somehow they've managed to get "go old" as a habit and everyone just does it and never thinks about the ramifications or what a good default choice is and automatically goes to one that is less ideal.

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

                                @pmoncho said in Secure Meshcentral server on Vultr:

                                @JaredBusch
                                Thanks for the confirmation on the FW and SSH. Will take that knowledge forward.

                                As soon as you enable UFW, you will lose SSH access unless you allow it first.

                                ufw allow in ssh
                                ufw enable
                                
                                1 Reply Last reply Reply Quote 2
                                • dbeatoD
                                  dbeato @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in Secure Meshcentral server on Vultr:

                                  @JaredBusch said in Secure Meshcentral server on Vultr:

                                  @scottalanmiller said in Secure Meshcentral server on Vultr:

                                  Isn't Ubuntu's firewall on by default?

                                  UFW is not installed or enabled by default.

                                  But it just manages iptables, and that is active I believe. but minimally. SSH works without letting anything through. prior to enabling UFW.

                                  Oh, that makes more sense. Firewall is on, firewall manager is absent.

                                  UFW is installed by default on Ubuntu but it is not enabled by default. So yeah @JaredBusch said it right πŸ™‚

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

                                    @dbeato said in Secure Meshcentral server on Vultr:

                                    @scottalanmiller said in Secure Meshcentral server on Vultr:

                                    @JaredBusch said in Secure Meshcentral server on Vultr:

                                    @scottalanmiller said in Secure Meshcentral server on Vultr:

                                    Isn't Ubuntu's firewall on by default?

                                    UFW is not installed or enabled by default.

                                    But it just manages iptables, and that is active I believe. but minimally. SSH works without letting anything through. prior to enabling UFW.

                                    Oh, that makes more sense. Firewall is on, firewall manager is absent.

                                    UFW is installed by default on Ubuntu but it is not enabled by default. So yeah @JaredBusch said it right πŸ™‚

                                    He said it was not installed.

                                    dbeatoD JaredBuschJ 2 Replies Last reply Reply Quote 0
                                    • dbeatoD
                                      dbeato @scottalanmiller
                                      last edited by

                                      @scottalanmiller said in Secure Meshcentral server on Vultr:

                                      @dbeato said in Secure Meshcentral server on Vultr:

                                      @scottalanmiller said in Secure Meshcentral server on Vultr:

                                      @JaredBusch said in Secure Meshcentral server on Vultr:

                                      @scottalanmiller said in Secure Meshcentral server on Vultr:

                                      Isn't Ubuntu's firewall on by default?

                                      UFW is not installed or enabled by default.

                                      But it just manages iptables, and that is active I believe. but minimally. SSH works without letting anything through. prior to enabling UFW.

                                      Oh, that makes more sense. Firewall is on, firewall manager is absent.

                                      UFW is installed by default on Ubuntu but it is not enabled by default. So yeah @JaredBusch said it right πŸ™‚

                                      He said it was not installed.

                                      Well that part...

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

                                        @scottalanmiller said in Secure Meshcentral server on Vultr:

                                        @dbeato said in Secure Meshcentral server on Vultr:

                                        @scottalanmiller said in Secure Meshcentral server on Vultr:

                                        @JaredBusch said in Secure Meshcentral server on Vultr:

                                        @scottalanmiller said in Secure Meshcentral server on Vultr:

                                        Isn't Ubuntu's firewall on by default?

                                        UFW is not installed or enabled by default.

                                        But it just manages iptables, and that is active I believe. but minimally. SSH works without letting anything through. prior to enabling UFW.

                                        Oh, that makes more sense. Firewall is on, firewall manager is absent.

                                        UFW is installed by default on Ubuntu but it is not enabled by default. So yeah @JaredBusch said it right πŸ™‚

                                        He said it was not installed.

                                        I don’t use Ubuntu. I have no idea wtf it does.

                                        I believe that the Debian image on vultr does not have it pre-installed. But I would have to verify.

                                        dbeatoD 1 Reply Last reply Reply Quote 1
                                        • dbeatoD
                                          dbeato @JaredBusch
                                          last edited by

                                          @JaredBusch said in Secure Meshcentral server on Vultr:

                                          @scottalanmiller said in Secure Meshcentral server on Vultr:

                                          @dbeato said in Secure Meshcentral server on Vultr:

                                          @scottalanmiller said in Secure Meshcentral server on Vultr:

                                          @JaredBusch said in Secure Meshcentral server on Vultr:

                                          @scottalanmiller said in Secure Meshcentral server on Vultr:

                                          Isn't Ubuntu's firewall on by default?

                                          UFW is not installed or enabled by default.

                                          But it just manages iptables, and that is active I believe. but minimally. SSH works without letting anything through. prior to enabling UFW.

                                          Oh, that makes more sense. Firewall is on, firewall manager is absent.

                                          UFW is installed by default on Ubuntu but it is not enabled by default. So yeah @JaredBusch said it right πŸ™‚

                                          He said it was not installed.

                                          I don’t use Ubuntu. I have no idea wtf it does.

                                          I believe that the Debian image on vultr does not have it pre-installed. But I would have to verify.

                                          Debian doesn't come with it so yeah that is right.

                                          1 Reply Last reply Reply Quote 0
                                          • pmonchoP
                                            pmoncho
                                            last edited by

                                            Upgraded from 18.04.2 LTS to current. Accepted default answers for individuals packages during upgrade.

                                            Had issue with MC and the meshcentral-data/meshcentral.db getting set with root:root perms and this caused a few errors with starting MC from meshcentral.service

                                            Changed perms to back to <user>:<user> and all is well. Don't know what would change those perms though? Either way, all is well now.

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