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.
    • dafyreD
      dafyre @scottalanmiller
      last edited by

      @scottalanmiller lol. Windows 7 and up. 🙂 (Keep commenting, and I'll keep editing the post, lol).

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

        Oh that is a bit better.

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

          And very much a current project, lol. I got help with an issue via the Github Issue tracker, lol. And got emails from them about screenshotting for the write up. 🙂

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

            See updates above... Client-To-Site VPN is now working... sadly, I don't have a second site that I could hijack ^W use for testing... Yet. I feel a visit to family coming on, lol.

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

              I must be dense. To set up the controller you compile the same zerotierone package but pass make ZT_ENABLE_NETWORK_CONTROLLER=1 first?

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

                @johnhooks Yeah. When you build it with the controller enabled, it also builds the client too, so there's just one install to manage... I just discovered a shortcut to the rigamarole I went through before to initially get the installer...

                cd /path/to/ztsource
                make ZT_ENABLE_NETWORK_CONTROLLER=1 installer
                

                Will correctly build the controller bits in, as well as generate the installer script.

                sudo ./ZeroTierOneInstaller-linux-x64-1_0_5
                

                Will install it in /var/lib/zerotier-one, and install the init.d files (or the systemd files, whatever the going rate is these days)...

                You can check to see if you have the controller in stalled correctly by doing this:

                root@yourserver:~# zerotier-cli /controller
                {
                        "controller": true,
                        "apiVersion": 1,
                        "clock": 1441048250252,
                        "instanceId": "#####################"
                }
                

                If it is installed correctly with the controller bits enabled, it should look like that.

                If it did not install with the controller bits, then you'll get a 404 error.

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

                  @dafyre Thanks!

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

                    Hey @johnhooks ,

                    Havae you tried to get the Site-To-Site working yet?

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

                      @dafyre said:

                      Hey @johnhooks ,

                      Havae you tried to get the Site-To-Site working yet?

                      I got everything installed, but I got stuck at creating a network haha.

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

                        Yeah, I never did get that part to work using the shell... so I cheated a little and did it with PHP for creating the network, and I did get a bash script written for authorizing the clients. These scripts need to be in /var/lib/zerotierone.

                        Sadly, it won't let me upload text files, so here's a link to the PHP Script (it is a text file, so my server won't execute it, lol)

                        https://beta.wellston.biz/ztCreateNetwork.txt

                        After you get that done, it will create a network. In the ZeroTier client, copy and paste the network ID (it will show it to you after the network is created, or you can get the Network's ID by:

                        root@yourserver:~#zerotier-cli /controller/network
                        

                        After you successfully join a client to the network, you will need to authorize the client before it is issued an IP address (Shell Script here): https://beta.wellston.biz/ztAuth.txt

                        The first is the Network ID (the full 16 digit network id), and the second is the client id. (You can locate the client id in the bottom left of the interface if you are using the gui). If you are trying to connect from a non-gui Linux install, you can run zerotier-cli info again, and it will return your client's ID...

                        root@yourclient:~#zerotier-cli info
                        200 info <your id here> ONLINE 1.0.5
                        

                        To authorize the client it would be:

                        root@yourserver:/var/lib/zerotier-one# ./ztAuth <networkid> <client id>
                        

                        It should spit out a blurb of text. Just check and make sure Authorized=true, and you should be good to go. I would recommend getting a couple of clients working from within the ZeroTier IP addresses before trying to get them to do Client-To-Site.

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

                          That's awesome. Thanks so much! I'll give this a shot when I get some time today. I'm glad it wasn't just me that couldn't get it through the cli, I think their ReadMe's need some more direction.

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

                            @johnhooks Very much so, lol. I think they have an admin bit in the works, but I'm not sure if it will be part of the client package or a separate download or what they are going to do with it yet.

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

                              How did you allow bridging? Just using their hosted account, I checked the box but I can't see any other devices on the network.

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

                                I treated it as a routed network. So I built a Fedora 22 VM, enabled IP Forwarding and set up the routes on my remote client to my home network via the ztRouter's zt ip addeess.

                                And then on my home router, I added a route to my Zerotier ip range via the LAN address of my Zerotier router.

                                Clear as mud?

                                stacksofplatesS 2 Replies Last reply Reply Quote 0
                                • stacksofplatesS
                                  stacksofplates @dafyre
                                  last edited by

                                  @dafyre said:

                                  I treated it as a routed network. So I built a Fedora 22 VM, enabled IP Forwarding and set up the routes on my remote client to my home network via the ztRouter's zt ip addeess.

                                  And then on my home router, I added a route to my Zerotier ip range via the LAN address of my Zerotier router.

                                  Clear as mud?

                                  Ha :-P. I just figured they had the function built in since there was an option for it. I'll give it a shot.

                                  I was thinking of setting this up at a doctors office because they need a new VPN between the hospital billing and their office. The hospital said a site to site VPN isn't an option, so I figured this might be easier.

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

                                    @dafyre said:

                                    I treated it as a routed network. So I built a Fedora 22 VM, enabled IP Forwarding and set up the routes on my remote client to my home network via the ztRouter's zt ip addeess.

                                    And then on my home router, I added a route to my Zerotier ip range via the LAN address of my Zerotier router.

                                    Clear as mud?

                                    Did you create a bridge before you set up the routes or did you just use the actual interface?

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

                                      @johnhooks said:

                                      @dafyre said:

                                      I treated it as a routed network. So I built a Fedora 22 VM, enabled IP Forwarding and set up the routes on my remote client to my home network via the ztRouter's zt ip addeess.

                                      And then on my home router, I added a route to my Zerotier ip range via the LAN address of my Zerotier router.

                                      Clear as mud?

                                      Ha :-P. I just figured they had the function built in since there was an option for it. I'll give it a shot.

                                      I was thinking of setting this up at a doctors office because they need a new VPN between the hospital billing and their office. The hospital said a site to site VPN isn't an option, so I figured this might be easier.

                                      Why is a Site to Site VPN not an option? If you use this site to site VPN, you would have a site to site VPN. Do you see my confusion? If the hospital thinks that this is not an option, why would this be an option?

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

                                        @scottalanmiller said:

                                        @johnhooks said:

                                        @dafyre said:

                                        I treated it as a routed network. So I built a Fedora 22 VM, enabled IP Forwarding and set up the routes on my remote client to my home network via the ztRouter's zt ip addeess.

                                        And then on my home router, I added a route to my Zerotier ip range via the LAN address of my Zerotier router.

                                        Clear as mud?

                                        Ha :-P. I just figured they had the function built in since there was an option for it. I'll give it a shot.

                                        I was thinking of setting this up at a doctors office because they need a new VPN between the hospital billing and their office. The hospital said a site to site VPN isn't an option, so I figured this might be easier.

                                        Why is a Site to Site VPN not an option? If you use this site to site VPN, you would have a site to site VPN. Do you see my confusion? If the hospital thinks that this is not an option, why would this be an option?

                                        You can do this without site to site. Just have peers connect. All the controller does is allow connections. If you set this up and delete the controller, everything still works.

                                        I don't understand why a site to site is not an option. It would make all of this easier, but that's what I was told. So I was thinking either this or set up an edgerouter with L2TP. He should probably have a new router anyway.

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

                                          @johnhooks said:

                                          @scottalanmiller said:

                                          @johnhooks said:

                                          @dafyre said:

                                          I treated it as a routed network. So I built a Fedora 22 VM, enabled IP Forwarding and set up the routes on my remote client to my home network via the ztRouter's zt ip addeess.

                                          And then on my home router, I added a route to my Zerotier ip range via the LAN address of my Zerotier router.

                                          Clear as mud?

                                          Ha :-P. I just figured they had the function built in since there was an option for it. I'll give it a shot.

                                          I was thinking of setting this up at a doctors office because they need a new VPN between the hospital billing and their office. The hospital said a site to site VPN isn't an option, so I figured this might be easier.

                                          Why is a Site to Site VPN not an option? If you use this site to site VPN, you would have a site to site VPN. Do you see my confusion? If the hospital thinks that this is not an option, why would this be an option?

                                          You can do this without site to site. Just have peers connect. All the controller does is allow connections. If you set this up and delete the controller, everything still works.

                                          I don't understand why a site to site is not an option. It would make all of this easier, but that's what I was told. So I was thinking either this or set up an edgerouter with L2TP. He should probably have a new router anyway.

                                          So site to peers?

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

                                            @scottalanmiller said:

                                            @johnhooks said:

                                            @scottalanmiller said:

                                            @johnhooks said:

                                            @dafyre said:

                                            I treated it as a routed network. So I built a Fedora 22 VM, enabled IP Forwarding and set up the routes on my remote client to my home network via the ztRouter's zt ip addeess.

                                            And then on my home router, I added a route to my Zerotier ip range via the LAN address of my Zerotier router.

                                            Clear as mud?

                                            Ha :-P. I just figured they had the function built in since there was an option for it. I'll give it a shot.

                                            I was thinking of setting this up at a doctors office because they need a new VPN between the hospital billing and their office. The hospital said a site to site VPN isn't an option, so I figured this might be easier.

                                            Why is a Site to Site VPN not an option? If you use this site to site VPN, you would have a site to site VPN. Do you see my confusion? If the hospital thinks that this is not an option, why would this be an option?

                                            You can do this without site to site. Just have peers connect. All the controller does is allow connections. If you set this up and delete the controller, everything still works.

                                            I don't understand why a site to site is not an option. It would make all of this easier, but that's what I was told. So I was thinking either this or set up an edgerouter with L2TP. He should probably have a new router anyway.

                                            So site to peers?

                                            Yes. I was planning on having a peer at the office in bridge mode which forwards requests to the office and out of the office. Then just have clients at the billing office join and disconnect from the network as needed.

                                            I managed to get everything working in a test environment, but I'm leaning more towards an edgerouter now.

                                            scottalanmillerS 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 1 / 6
                                            • First post
                                              Last post