Changes

no edit summary
Line 88: Line 88:     
==Testing configuration==
 
==Testing configuration==
 +
===Ping Test===
 +
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>
 +
  <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>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>
 +
<ul>
 +
[[File:Networking rutos configuration example Setting up a ZeroTier tunnel between RUTX device ping test v2.png|border|class=tlt-border]]
   −
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, login to RUTX WebUI and go to '''Services → CLI'''. Login with user name: '''root''' and the router's admin password. From there you should then be able to '''ping''' the opposite instance's virtual IP address. To use a ping command, type '''ping <ip_address>''' and press the "Enter" key on your keyboard:
+
If the ping requests are successful, congratulations, your setup works! If not, we suggest that you review all steps once more.
   −
[[File:Networking rutos configuration example Setting up a ZeroTier tunnel between RUTX device ping test v2.png|border|class=tlt-border]]
+
===ZeroTier Commands===
 +
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>
 +
  <li>Go to '''Services → CLI'''.</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>
 +
<ul>
   −
If the ping requests are successful, congratulations, your setup works! If not, we suggest that you review all steps once more.
+
The RUTX will show the commands the zerotier-cli can issue, for this example we'll get the VPN info/status and IP address.
 +
<li>Getting info/status:</li>
 +
<pre>zerotier-cli info</pre>
 +
<li> Getting IP address:</li>
 +
<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]]

Navigation menu