Changes

no edit summary
Line 25: Line 25:  
     <li>Find out the public IP addresses of your routers. You can do this by visiting a website like [https://www.whatsmyip.org/ whatsmyip.org] or by using the <b><i>curl ifconfig.co</i></b> command via CLI or SSH.</li>
 
     <li>Find out the public IP addresses of your routers. You can do this by visiting a website like [https://www.whatsmyip.org/ whatsmyip.org] or by using the <b><i>curl ifconfig.co</i></b> command via CLI or SSH.</li>
 
----
 
----
     <li>Navigate to the <b>Services → VPN → Zerotier</b> page. Enable Zerotier, specify your network ID, and save:<br>[[File:Networking rutxxx configuration zerotier router connection v1.jpg|border|class=tlt-border|1000px]]<br>The first time Zerotier is enabled it creates a unique address for you which can take a bit of time.</li>
+
     <li>Navigate to the <b>Services → VPN → Zerotier</b> page. Enable Zerotier, add new network instance, enable it, specify your network ID, and save:<br>[[File:Networking rutxxx configuration zerotier router connection v2.png|border|class=tlt-border|1000px]]<br>The first time Zerotier is enabled it creates a unique address for you which can take a bit of time.</li>
 
----
 
----
 
   <li>After a minute or two your router's Zerotier address should become visible on the network options. Note: For peace of mind, you can name the connection:<br>[[File:Networking rutxxx configuration zerotier new connection v1.jpg|border|class=tlt-border|1000px]]</li>
 
   <li>After a minute or two your router's Zerotier address should become visible on the network options. Note: For peace of mind, you can name the connection:<br>[[File:Networking rutxxx configuration zerotier new connection v1.jpg|border|class=tlt-border|1000px]]</li>
Line 35: Line 35:  
[[File:Networking rutxxx zerotier client and server v1.jpg|border|class=tlt-border|1000px]]</li>
 
[[File:Networking rutxxx zerotier client and server v1.jpg|border|class=tlt-border|1000px]]</li>
 
----
 
----
     <li>For this we first will need to take the VPN servers (Router1) managed IP and input it into our Managed Routes on our Zerotier network so that all connected devices which want to use the VPN service will know where our VPN server is and save the configuration:<br>[[File:Networking rutxxx configuration zerotier route v1.jpg|border|class=tlt-border|1000px]]</li>
+
     <li>For this we first will need to take the VPN servers (Router1) managed IP and input it into our Managed Routes on our Zerotier network so that all connected devices which want to use the VPN service will know where our VPN server is and save the configuration:<br>[[File:Networking rutxxx configuration zerotier route v2.jpg|border|class=tlt-border|1000px]]
 +
</li>
 
----
 
----
 +
    <li>And now we can confirm client (Router 2) obtaining the server IP address on a console or the CLI on the Service tab with the “curl ifconfig.co” command.<br>
 +
Before:
 +
<pre>root@Teltonika-RUT950:~# curl ifconfig.co
 +
12.12.12.12
 +
</pre>
 +
After:
 +
<pre>root@Teltonika-RUT950:~# curl ifconfig.co
 +
31.31.31.31
 +
</pre>
 +
    </li>
 +
</ol>
 +
[[Category:VPN]]

Navigation menu