Changes

no edit summary
Line 60: Line 60:  
         </ol>[[File:RutOS_ZeroTier_7.8_9.png|border|class=tlt-border|1000px]]
 
         </ol>[[File:RutOS_ZeroTier_7.8_9.png|border|class=tlt-border|1000px]]
 
     </li>
 
     </li>
<li>Since both routers are configured, we can clearly see that routers have different physical IPs and for this example, we will make Router 2 with 12.12.12.12 IP (Managed IP:172.28.93.10) who will be our VPN client get the 31.31.31.31 IP (Managed IP:172.28.249.49 ) from the other Router 1
+
</ul>
who will be our VPN server:<br>
  −
[[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 v2.jpg|border|class=tlt-border|1000px]]
   
==Testing the configuration==
 
==Testing the configuration==
    <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>
+
To test out if the configuration is done correctly, you can ping the Managed IP address of the opposite router.
Before:
+
 
<pre>root@Teltonika-RUTX50:~# curl icanhazip.com
  −
12.12.12.12
  −
</pre>
  −
After:
  −
<pre>root@Teltonika-RUTX50:~# curl icanhazip.com
  −
31.31.31.31
  −
</pre>
  −
    </li>
   
[[Category:VPN]]
 
[[Category:VPN]]