Changes

no edit summary
Line 1: Line 1:  
<p style="color:red">The information on this page is updated in accordance with the [https://wiki.teltonika-networks.com/view/FW_%26_SDK_Downloads'''00.07.07.1'''] firmware version .</p>
 
<p style="color:red">The information on this page is updated in accordance with the [https://wiki.teltonika-networks.com/view/FW_%26_SDK_Downloads'''00.07.07.1'''] firmware version .</p>
   −
==Introduction==
+
=Introduction=
    
A site-to-site connection using an IPsec tunnel between Teltonika devices and an Azure Virtual Network Gateway is a secure method to link two separate networks over the internet. This setup ensures that data transmitted between the on-premises network, managed by Teltonika routers, and the Azure cloud environment is encrypted and secure.
 
A site-to-site connection using an IPsec tunnel between Teltonika devices and an Azure Virtual Network Gateway is a secure method to link two separate networks over the internet. This setup ensures that data transmitted between the on-premises network, managed by Teltonika routers, and the Azure cloud environment is encrypted and secure.
Line 9: Line 9:  
[[File:Networking rutos manual webui basic advanced mode 75.gif|none|border|center|class=tlt-border]]
 
[[File:Networking rutos manual webui basic advanced mode 75.gif|none|border|center|class=tlt-border]]
   −
==Prerequisite==
+
=Prerequisite=
    
The user needs an Azure account with an active subscription.
 
The user needs an Azure account with an active subscription.
   −
==Azure Platform==  
+
=Azure Platform=  
   −
===Create a VPN Gateway on the Azure Platform===
+
==Create a VPN Gateway on the Azure Platform==
----
      
Log into the Azure portal, search for "Virtual Network Gateways" and click on '''Create'''.
 
Log into the Azure portal, search for "Virtual Network Gateways" and click on '''Create'''.
<br> </br>
+
 
[[File:VNGW_01.png|600px|center]]
+
 
<br> </br>
+
[[File:VNGW_01.png|none|border|left|class=tlt-border|600px]]
 +
 
 +
 
 
Use the information and images below as reference to complete the settings:
 
Use the information and images below as reference to complete the settings:
<br> </br>
+
 
 +
 
 
'''Projects details'''
 
'''Projects details'''
 
* '''Suscription:''' Your suscription.
 
* '''Suscription:''' Your suscription.
Line 44: Line 46:  
* '''Configure BGP:''' Disabled.
 
* '''Configure BGP:''' Disabled.
   −
<br> </br>
  −
[[File:VNGW_02.png|600px|center]]
  −
<br> </br>
  −
[[File:VNGW_03.png|600px|center]]
  −
<br> </br>
  −
[[File:VNGW_04.png|600px|center]]
     −
====Create a Virtual Network====
+
[[File:VNGW_02.png|none|border|left|class=tlt-border|600px]]
 +
 
 +
 
 +
[[File:VNGW_03.png|none|border|left|class=tlt-border|600px]]
 +
 
 +
 
 +
[[File:VNGW_04.png|none|border|left|class=tlt-border|600px]]
 +
 
 +
 
 +
===Create a Virtual Network===
 
----
 
----
 
In case you do not have previously created a virtual network, click on the blue URL link to create one and use the default settings as shown in the image below:
 
In case you do not have previously created a virtual network, click on the blue URL link to create one and use the default settings as shown in the image below:
<br> </br>
  −
[[File:VNGW_06.png|600px|center]]
     −
====Finish the VPN gateway configuration====
+
 
 +
[[File:VNGW_05.png|none|border|left|class=tlt-border|600px]]
 +
 
 +
 
 +
===Finish the VPN gateway configuration===
 
----
 
----
After finishing the previous configuration, you can continue with the tags. This section is not mandatory; therefore, we’ll leave it as default.
+
After finishing the previous configuration, you can continue with the tags. This section is not mandatory; therefore, we’ll leave it as default and click on '''Review + create''', to check that the network gateway has the parameters as shown below, and then click on the '''Create''' button to finish.
<br> </br>
+
 
[[File:VNGW_07.png|600px|center]]
+
 
 +
[[File:VNGW_06.png|none|border|left|class=tlt-border|600px]]
 +
 
   −
Click on '''Review + create''', check that the network gateway has the parameters as shown below, and click on the '''Create''' button to finish.
+
==Create a local network Gateway==
<br> </br>
  −
[[File:VNGW_08.png|600px|center]]
     −
===Create a local network Gateway===
  −
----
   
In the search bar, look for "Local Network Gateways" and click on '''Create'''.
 
In the search bar, look for "Local Network Gateways" and click on '''Create'''.
<br> </br>
+
 
 +
 
 
[[File:VNGW_09.png|600px|center]]
 
[[File:VNGW_09.png|600px|center]]
<br> </br>
+
 
 +
 
 
Fill in the configuration fields accordingly and add the remote router address space (LAN network) and the FQDN if the router does not have a static public IP address on its WAN interface.
 
Fill in the configuration fields accordingly and add the remote router address space (LAN network) and the FQDN if the router does not have a static public IP address on its WAN interface.
   Line 86: Line 93:  
* '''Address Space:''' The router's LAN network(s)
 
* '''Address Space:''' The router's LAN network(s)
 
* '''Configure BGP settings:''' No.
 
* '''Configure BGP settings:''' No.
<br> </br>
+
 
 +
 
 
[[File:VNGW__10.png|600px|center]]
 
[[File:VNGW__10.png|600px|center]]
<br> </br>
+
 
 +
 
 
[[File:VNGW__11.png|600px|center]]
 
[[File:VNGW__11.png|600px|center]]
    
Verify the configuration and click on '''Create''' to finish.
 
Verify the configuration and click on '''Create''' to finish.
<br> </br>
+
 
 +
 
 
[[File:VNGW_12.png|600px|center]]
 
[[File:VNGW_12.png|600px|center]]
   −
===Create a connection===
+
==Create a connection==
----
+
 
 
Search for "Connections" and create a new one:
 
Search for "Connections" and create a new one:
<br> </br>
+
 
 +
 
 
[[File:VNGW_13.png|600px|center]]
 
[[File:VNGW_13.png|600px|center]]
<br> </br>
+
 
 +
 
 
Complete the connection settings using the information and images below as reference:
 
Complete the connection settings using the information and images below as reference:
<br> </br>
+
 
 +
 
 
'''Projects details'''
 
'''Projects details'''
 
* '''Suscription:''' Your suscription.
 
* '''Suscription:''' Your suscription.
Line 129: Line 142:  
* '''Ingress NAT Rules:''' 0 selected.
 
* '''Ingress NAT Rules:''' 0 selected.
 
* '''Egress NAT Rules:''' 0 selected.
 
* '''Egress NAT Rules:''' 0 selected.
<br> </br>
+
 
 +
 
 
[[File:VNGW_14.png|600px|center]]
 
[[File:VNGW_14.png|600px|center]]
<br> </br>
+
 
 +
 
 
[[File:VNGW_15.png|600px|center]]
 
[[File:VNGW_15.png|600px|center]]
<br> </br>
+
 
 +
 
 
[[File:VNGW_16.png|600px|center]]
 
[[File:VNGW_16.png|600px|center]]
<br> </br>
+
 
 +
 
 
'''Note:''' You can use different crypto proposals; however, you must ensure that they match on the router.
 
'''Note:''' You can use different crypto proposals; however, you must ensure that they match on the router.
<br> </br>
+
 
 +
 
 
[[File:VNGW_17.png|600px|center]]
 
[[File:VNGW_17.png|600px|center]]
    
'''Note:''' the tag field can be leaved empty.
 
'''Note:''' the tag field can be leaved empty.
<br> </br>
+
 
 +
 
 
Check that the parameters match and click on '''Create'''.
 
Check that the parameters match and click on '''Create'''.
<br> </br>
+
 
 +
 
 
[[File:VNGW_18.png|600px|center]]
 
[[File:VNGW_18.png|600px|center]]
   −
==Teltonika device configuration==
+
=Teltonika device configuration=
 +
 
 +
==DDNS configuration==
   −
===DDNS configuration===
  −
----
   
Log into the router via WebUI.
 
Log into the router via WebUI.
<br> </br>
+
 
 +
 
 
In case you don’t have a static public IP address on the WAN interface, you can enable the Dynamic DNS service as explained here: [[DDNS Configuration Examples]]
 
In case you don’t have a static public IP address on the WAN interface, you can enable the Dynamic DNS service as explained here: [[DDNS Configuration Examples]]
<br> </br>
+
 
 +
 
 
'''Path:''' WebUI >  Services > Dynamic DNS.
 
'''Path:''' WebUI >  Services > Dynamic DNS.
<br> </br>
+
 
 +
 
 
'''Note:''' On devices other than the RUTX series, you will need to download the DDNS service from the Package Manager.
 
'''Note:''' On devices other than the RUTX series, you will need to download the DDNS service from the Package Manager.
<br> </br>
+
 
 +
 
 
[[File:TN_DDNS.png|600px|center]]
 
[[File:TN_DDNS.png|600px|center]]
<br> </br>
+
 
 +
 
 
After finishing the configuration, you should get the public IP address of the created domain.
 
After finishing the configuration, you should get the public IP address of the created domain.
<br> </br>
+
 
 +
 
 
[[File:TN_DDNS02.png|600px|center]]
 
[[File:TN_DDNS02.png|600px|center]]
   −
===IPsec configuration===
+
==IPsec configuration==
----
+
 
 +
 
 
Locate the following path: WebUI > Services > IPsec ; and a new instance:
 
Locate the following path: WebUI > Services > IPsec ; and a new instance:
<br> </br>
+
 
 +
 
 
'''Instance details'''
 
'''Instance details'''
 
* '''Enable:''' On.
 
* '''Enable:''' On.
Line 194: Line 222:  
* '''Force crypto Proposal:''' off.
 
* '''Force crypto Proposal:''' off.
 
* '''lifetimes:''' Empty.
 
* '''lifetimes:''' Empty.
<br> </br>
+
 
 +
 
 
[[File:TN_IPSEC01.png|600px|center]]
 
[[File:TN_IPSEC01.png|600px|center]]
<br> </br>
+
 
 +
 
 
[[File:TN_IPsec02.png|600px|center]]
 
[[File:TN_IPsec02.png|600px|center]]
<br> </br>
+
 
 +
 
 
[[File:TN_IPsec03.png|600px|center]]
 
[[File:TN_IPsec03.png|600px|center]]
<br> </br>
+
 
 +
 
 
[[File:TN_IPsec04.png|600px|center]]
 
[[File:TN_IPsec04.png|600px|center]]
    
'''Note:''' in this example, we use DH Group equals to MODP1024 which is the same to Group 2 selected on the Azure platform.
 
'''Note:''' in this example, we use DH Group equals to MODP1024 which is the same to Group 2 selected on the Azure platform.
<br> </br>
+
 
 +
 
 
[[File:TN_IPsec05.png|600px|center]]
 
[[File:TN_IPsec05.png|600px|center]]
   −
==Check Site to Site Communication==
+
=Check Site to Site Communication=
 
If you followed the configuration steps, you should see that the Site to Site connection has been successfully established.
 
If you followed the configuration steps, you should see that the Site to Site connection has been successfully established.
<br> </br>
+
 
 +
 
 
[[File:TN_IPsec06.png|600px|center]]
 
[[File:TN_IPsec06.png|600px|center]]
<br> </br>
+
 
 +
 
 
You can also check in the Azure platform that the connection has been established:
 
You can also check in the Azure platform that the connection has been established:
<br> </br>
+
 
 +
 
 
[[File:TN_IPsec07.png|600px|center]]
 
[[File:TN_IPsec07.png|600px|center]]
<br> </br>
+
 
 +
 
 
Check connectivity between the router LAN and a VM inside the Azure virtual network you may have:
 
Check connectivity between the router LAN and a VM inside the Azure virtual network you may have:
<br> </br>
+
 
 +
 
 
[[File:TN_IPsec08.png|600px|center]]
 
[[File:TN_IPsec08.png|600px|center]]
<br> </br>
+
 
 +
 
 
Test connectivity from a host in the router’s LAN to the VM:
 
Test connectivity from a host in the router’s LAN to the VM:
<br> </br>
+
 
 +
 
 
[[File:TN_IPsec09.png|600px|center]]
 
[[File:TN_IPsec09.png|600px|center]]
<br> </br>
+
 
 +
 
 
Connect to the VM in Azure, test connectivity to the Router’s LAN interface.
 
Connect to the VM in Azure, test connectivity to the Router’s LAN interface.
<br> </br>
+
 
 +
 
 
[[File:TN_IPsec10.png|600px|center]]
 
[[File:TN_IPsec10.png|600px|center]]
   −
==See Also==
+
 
 +
=See Also=
 
* [[Dynamic DNS]] - general information on the DDNS service.
 
* [[Dynamic DNS]] - general information on the DDNS service.
 
* [[DDNS Configuration Examples]] - additional examples for different DDNS providers.
 
* [[DDNS Configuration Examples]] - additional examples for different DDNS providers.
   −
==External links==
+
=External links=
 
* https://www.noip.com
 
* https://www.noip.com
 
* https://learn.microsoft.com/en-us/azure/vpn-gateway/tutorial-site-to-site-portal
 
* https://learn.microsoft.com/en-us/azure/vpn-gateway/tutorial-site-to-site-portal

Navigation menu