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

    ZeroTier Review

    Scheduled Pinned Locked Moved IT Discussion
    vpnreviewzerotier
    107 Posts 10 Posters 67.9k 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.
    • wrx7mW
      wrx7m
      last edited by wrx7m

      I need a distraction from other things I am working on today and I was thinking about trying to stand up a zero tier controller in a VM. Which linux distro should I use?

      dafyreD scottalanmillerS stacksofplatesS 3 Replies Last reply Reply Quote 0
      • dafyreD
        dafyre @wrx7m
        last edited by

        @wrx7m said:

        I need a distraction from other things I am working on today and I was thinking about trying to stand up a zero tier connector in a VM. Which linux distro should I use?

        Yes, lol.

        Pretty much any of them will work. I tend to favor Ubuntu.

        1 Reply Last reply Reply Quote 1
        • wrx7mW
          wrx7m
          last edited by

          I want something as bare bones as possible, with as little setup as possible to get to the actual task of zerotier installation and config.

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

            @wrx7m said:

            I need a distraction from other things I am working on today and I was thinking about trying to stand up a zero tier controller in a VM. Which linux distro should I use?

            CentOS, Suse Leap and Ubuntu would be my suggestions.

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

              @wrx7m said:

              I want something as bare bones as possible, with as little setup as possible to get to the actual task of zerotier installation and config.

              All three that I mentioned are extremely lean by default.

              wrx7mW 1 Reply Last reply Reply Quote 1
              • wrx7mW
                wrx7m @scottalanmiller
                last edited by

                @scottalanmiller Well I have worked with CentOS and Ubuntu before but not Suse Leap. Hmm. I might try it out.

                And when I say worked with, I mean I have setup things like cacti, nagios, openvpn and some others for testing on various distros and versions. Other than that I don't know nearly enough about linux.

                dafyreD 1 Reply Last reply Reply Quote 0
                • stacksofplatesS
                  stacksofplates @wrx7m
                  last edited by

                  @wrx7m said:

                  I need a distraction from other things I am working on today and I was thinking about trying to stand up a zero tier controller in a VM. Which linux distro should I use?

                  I'm using CentOS 7

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

                    @wrx7m If you can set up things like Cacti, Nagios, and OpenVPN, you should be able to get ZeroTier up and going without too much of a problem. 🙂

                    Are you going to build your own controller, or use their hosted one (free for up to 10 devices) ?

                    wrx7mW 1 Reply Last reply Reply Quote 0
                    • stacksofplatesS
                      stacksofplates
                      last edited by

                      It's really easy to set up and use. It uses sqlite so backups are really easy. You can even just tar the /var/lib/zerotier-one folder.

                      wrx7mW 1 Reply Last reply Reply Quote 1
                      • wrx7mW
                        wrx7m @dafyre
                        last edited by wrx7m

                        @dafyre I want to build my own controller. That is the point of the "project" 😛

                        I have tested the hosted one and like the concept. Since the controller can also run the client, can I set it up as a gateway?

                        stacksofplatesS 1 Reply Last reply Reply Quote 0
                        • stacksofplatesS
                          stacksofplates @wrx7m
                          last edited by stacksofplates

                          @wrx7m said:

                          @dafyre I want to build my own controller. That is the point of the "project" 😛

                          I have tested the hosted one and like the concept. Since the controller can also run the client, can I set it up as a gateway?

                          You can. Just enable IP forwarding and add your routes.

                          1 Reply Last reply Reply Quote 1
                          • wrx7mW
                            wrx7m @stacksofplates
                            last edited by

                            @johnhooks Would tarring the folder be a sufficient backup for the config?

                            stacksofplatesS 1 Reply Last reply Reply Quote 0
                            • quicky2gQ
                              quicky2g @scottalanmiller
                              last edited by

                              @scottalanmiller said:

                              @wrx7m said:

                              I need a distraction from other things I am working on today and I was thinking about trying to stand up a zero tier controller in a VM. Which linux distro should I use?

                              CentOS, Suse Leap and Ubuntu would be my suggestions.

                              Wasn't too bad on Ubuntu server:

                              Dependencies for build

                              sudo apt-get install git make gcc g++ libsqlite3-dev
                              

                              For API and script stuff

                              sudo apt-get install curl php5-cli php5-curl
                              

                              Install

                              git clone https://github.com/zerotier/ZeroTierOne.git
                              cd ZeroTierOne
                              make ZT_ENABLE_NETWORK_CONTROLLER=1 installer
                              sudo ./ZeroTierOneInstaller-linux-x64-1_1_2
                              sudo service zerotier-one restart
                              
                              1 Reply Last reply Reply Quote 1
                              • stacksofplatesS
                                stacksofplates @wrx7m
                                last edited by

                                @wrx7m said:

                                @johnhooks Would tarring the folder be a sufficient backup for the config?

                                Yup. At least I haven't had any issues doing it. I've tested it out a few times.

                                1 Reply Last reply Reply Quote 1
                                • wrx7mW
                                  wrx7m
                                  last edited by

                                  I decided to go with Ubuntu mostly because of @quicky2g posting the screen captures 😉

                                  quicky2gQ 1 Reply Last reply Reply Quote 0
                                  • quicky2gQ
                                    quicky2g @wrx7m
                                    last edited by

                                    @wrx7m said:

                                    I decided to go with Ubuntu mostly because of @quicky2g posting the screen captures 😉

                                    Happy to help! I only tried doing the server because of @dafyre and his awesome scripts!

                                    1 Reply Last reply Reply Quote 2
                                    • wrx7mW
                                      wrx7m
                                      last edited by wrx7m

                                      Should I create a new thread for this? Got through the installation and when I ran zerotier-cli /controller to verify installation, I got "missing authentication token and authtoken.secret not found (or readable) in /var/lib/zerotier-one". I tried restarting the zerotier service and also a full reboot of the ubuntu server.

                                      EDIT: I did check the contents of the aforementioned directory and did see the authtoken.secret file but not sure what the other would be if it weren't the same thing...

                                      stacksofplatesS quicky2gQ 2 Replies Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller
                                        last edited by

                                        Yeah, if you have a question, make a new thread and mark as a question, too.

                                        wrx7mW 1 Reply Last reply Reply Quote 1
                                        • stacksofplatesS
                                          stacksofplates @wrx7m
                                          last edited by

                                          @wrx7m said:

                                          Should I create a new thread for this? Got through the installation and when I ran zerotier-cli /controller to verify installation, I got "missing authentication token and authtoken.secret not found (or readable) in /var/lib/zerotier-one". I tried restarting the zerotier service and also a full reboot of the ubuntu server.

                                          EDIT: I did check the contents of the aforementioned directory and did see the authtoken.secret file but not sure what the other would be if it weren't the same thing...

                                          did you run as sudo?

                                          wrx7mW 1 Reply Last reply Reply Quote 2
                                          • quicky2gQ
                                            quicky2g @wrx7m
                                            last edited by

                                            @wrx7m said:

                                            Should I create a new thread for this? Got through the installation and when I ran zerotier-cli /controller to verify installation, I got "missing authentication token and authtoken.secret not found (or readable) in /var/lib/zerotier-one". I tried restarting the zerotier service and also a full reboot of the ubuntu server.

                                            EDIT: I did check the contents of the aforementioned directory and did see the authtoken.secret file but not sure what the other would be if it weren't the same thing...

                                            This should do the trick:

                                            sudo zerotier-cli /controller
                                            
                                            1 Reply Last reply Reply Quote 3
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 5 / 6
                                            • First post
                                              Last post