Changes

no edit summary
Line 22: Line 22:     
       <ol>
 
       <ol>
         <li>Open the 'Networks' tab and click the 'Create a Network' button.<br></li>
+
         <li>Open the ''''Networks'''' tab and click the ''''Create a Network'''' button.<br></li>
 
         <li>Before configuring anything else, you may want to set up some basic settings.</li>
 
         <li>Before configuring anything else, you may want to set up some basic settings.</li>
 
     </ol>
 
     </ol>
Line 29: Line 29:     
         <ol>
 
         <ol>
             <li>Copy the Network ID; you will need it later for ZeroTier node configuration.</li>
+
             <li>Copy the '''Network ID'''; you will need it later for ZeroTier node configuration.</li>
 
             <li>Optionally, set up a name and description for your network for easier management.</li>
 
             <li>Optionally, set up a name and description for your network for easier management.</li>
             <li>Select 'Private' access control type; <u>unless</u> you want nodes to connect freely, without authorization.</li>
+
             <li>Select ''''Private'''' access control type; unless you want nodes to connect freely, without authorization.</li>
 
         </ol>
 
         </ol>
 
     </li>
 
     </li>
 
             [[File:Networking rutos configuration example Setting up a ZeroTier tunnel between RUTX device basic settings v1.png|border|class=tlt-border|1054px]]
 
             [[File:Networking rutos configuration example Setting up a ZeroTier tunnel between RUTX device basic settings v1.png|border|class=tlt-border|1054px]]
     <li>Scroll down to find the 'IPv4 Auto-Assign' section. Select one of the provided private IP ranges for your network or click 'Advanced' and set up the range manually. For this example we'll be using the <b>10.147.17.*</b> selection which means our network will be using the <b>10.147.17.0/24</b> IP range.<br>[[File:Networking rutos configuration example Setting up a ZeroTier tunnel between RUTX device ipv4 autoassign v2.png|border|class=tlt-border]]</li>
+
     <li>Scroll down to find the ''''IPv4 Auto-Assign'''' section. Select one of the provided private IP ranges for your network or click 'Advanced' and set up the range manually. For this example we'll be using the <b>10.147.17.*</b> selection which means our network will be using the <b>10.147.17.0/24</b> IP range.<br>[[File:Networking rutos configuration example Setting up a ZeroTier tunnel between RUTX device ipv4 autoassign v2.png|border|class=tlt-border]]</li>
 
</ul>
 
</ul>
   Line 44: Line 44:  
==Node configuration==
 
==Node configuration==
   −
Zerotier <b>nodes</b> or <b>members</b> are clients that can connect to a ZeroTier network. This section provides information on how to configure ZeroTier nodes on different types of machines.
+
Zerotier <b>nodes</b> or <b>members</b> are clients that can connect to a ZeroTier network. This section provides information on how to configure ZeroTier nodes on RUTX devices.
   −
Take note that if 'Private' access control type is selected, the nodes will only come online after they authorized by you from the ZeroTier Central dashboard. To learn how to authorize nodes, read the Node Authorization section of this article.
+
Take note that if ''''Private'''' access control type is selected, the nodes will only come online after they authorized by you from the ZeroTier Central dashboard. To learn how to authorize nodes, read the [[#Node_authorization|Node authorization]] section of this article.
    
===Teltonika-Networks RUTX device===
 
===Teltonika-Networks RUTX device===
 
----
 
----
 
<ul>
 
<ul>
     <li>Log into your device's WebUI, and navigate to the Services → Package Manager page.</li>
+
     <li>Log into your device's WebUI, and navigate to the '''Services → Package Manager page'''.</li>
 
     <li>Find the ZeroTier package in the list and install it.</li>
 
     <li>Find the ZeroTier package in the list and install it.</li>
     <li>Navigate to the Services → VPN → ZeroTier page and create a new ZeroTier configuration.
+
     <li>Navigate to the '''Services → VPN → ZeroTier''' page and create a new ZeroTier configuration.
 
         <ol>
 
         <ol>
 
             <li>Enter a custom name for the configuration.</li>
 
             <li>Enter a custom name for the configuration.</li>
             <li>Click 'Add'.</li>
+
             <li>Click ''''Add''''.</li>
 
         </ol>
 
         </ol>
 
     </li>
 
     </li>
 
     <li>
 
     <li>
 
     </li>[[File:Networking rutos configuration example Setting up a ZeroTier tunnel between RUTX device add intance v1.png|border|class=tlt-border|1054px]]
 
     </li>[[File:Networking rutos configuration example Setting up a ZeroTier tunnel between RUTX device add intance v1.png|border|class=tlt-border|1054px]]
     <li>Click the 'Edit' button and will be forwarded to the newly created configuration menu.</li>[[File:Networking rutos configuration example Setting up a ZeroTier tunnel between RUTX device edit intance v1.png|border|class=tlt-border|1054px]]
+
     <li>Click the ''''Edit'''' button and will be forwarded to the newly created configuration menu.</li>[[File:Networking rutos configuration example Setting up a ZeroTier tunnel between RUTX device edit intance v1.png|border|class=tlt-border|1054px]]
 
     <li>Complete the configuration.
 
     <li>Complete the configuration.
 
         <ol>
 
         <ol>
 
             <li>Turn the configuration on.</li>
 
             <li>Turn the configuration on.</li>
             <li>Paste the ZeroTier Network ID into the 'Networks' field.</li>
+
             <li>Paste the ZeroTier Network ID into the ''''Networks'''' field.</li>
             <li>Click 'Save & Apply'.</li>
+
             <li>Click ''''Save & Apply''''.</li>
 
             <li>You will be redirected to the overview and the '''node ID''' will be created automatically</li>
 
             <li>You will be redirected to the overview and the '''node ID''' will be created automatically</li>
 
         </ol>
 
         </ol>
Line 76: Line 76:  
==Node authorization==
 
==Node authorization==
   −
When Access Control is set to 'Private', you will have to approve new nodes manually from the ZeroTier dashboard before they can become members of the network.
+
When Access Control is set to ''''Private'''', you will have to approve new nodes manually from the ZeroTier dashboard before they can become members of the network.
   −
To do this, simply scroll down to the 'Members' section and:
+
To do this, simply scroll down to the ''''Members'''' section and:
    
<ol>
 
<ol>
Line 92: Line 92:     
If you've followed all the steps presented above, your configuration should be finished. But as with any other configuration, it is always wise to test the setup in order to make sure that it works properly. In order to test the '''ZeroTier''' Tunnel connection.
 
If you've followed all the steps presented above, your configuration should be finished. But as with any other configuration, it is always wise to test the setup in order to make sure that it works properly. In order to test the '''ZeroTier''' Tunnel connection.
<ul>
+
 
 +
<ol>
 
   <li>login to RUTX WebUI and go to '''Services → CLI'''.</li>
 
   <li>login to RUTX WebUI and go to '''Services → CLI'''.</li>
 
   <li>Login with user name: '''root''' and the router's admin password.</li>
 
   <li>Login with user name: '''root''' and the router's admin password.</li>
 
   <li>From there you should then be able to '''ping''' the opposite instance's virtual IP address.</li>
 
   <li>From there you should then be able to '''ping''' the opposite instance's virtual IP address.</li>
 
   <li>To use a ping command, type '''ping <ip_address>''' and press the "Enter" key on your keyboard:</li>
 
   <li>To use a ping command, type '''ping <ip_address>''' and press the "Enter" key on your keyboard:</li>
</ul>
+
</ol>
 +
 
 
[[File:Networking rutos configuration example Setting up a ZeroTier tunnel between RUTX device ping test v2.png|border|class=tlt-border]]
 
[[File:Networking rutos configuration example Setting up a ZeroTier tunnel between RUTX device ping test v2.png|border|class=tlt-border]]
   Line 105: Line 107:  
----
 
----
 
Also it's possible to get information about the VPN tunnel configuration and status via '''CLI'''. If you would like to use the '''zerotier-cli''' commands, you need to login to the WebUI:
 
Also it's possible to get information about the VPN tunnel configuration and status via '''CLI'''. If you would like to use the '''zerotier-cli''' commands, you need to login to the WebUI:
<ul>
+
<ol>
 
   <li>Go to '''Services → CLI'''.</li>
 
   <li>Go to '''Services → CLI'''.</li>
   <li>Login with user name: '''root''' and the router's admin password.</li>
+
   <li>Login with user name: '''root''' and the router's '''admin password'''.</li>
 
   <li>Write '''zerotier-cli help''' command and press the "Enter" key on your keyboard:</li>
 
   <li>Write '''zerotier-cli help''' command and press the "Enter" key on your keyboard:</li>
</ul>
+
</ol>
    
The RUTX will show the commands the '''zerotier-cli''' can issue, for this example we'll get the VPN info/status and IP address.<br><br>
 
The RUTX will show the commands the '''zerotier-cli''' can issue, for this example we'll get the VPN info/status and IP address.<br><br>
Getting info/status:
+
<li>Getting info/status:</li>
 
<pre>zerotier-cli info</pre>
 
<pre>zerotier-cli info</pre>
Getting IP address:
+
<li>Getting IP address:<br><span style="color: red;"><b>Note: Need to write your own network ID</b></span></li>
 
<pre>zerotier-cli get <network ID> ip</pre>
 
<pre>zerotier-cli get <network ID> ip</pre>
<span style="color: red;">Note: Need to write your own network ID</span>
+
 
 
[[File:Networking rutos configuration example Setting up a ZeroTier tunnel between RUTX device zerotier commands v1.png||border|class=tlt-border]]
 
[[File:Networking rutos configuration example Setting up a ZeroTier tunnel between RUTX device zerotier commands v1.png||border|class=tlt-border]]

Navigation menu