Changes

no edit summary
Line 12: Line 12:  
* Android phone with Android 13 or newer version;
 
* Android phone with Android 13 or newer version;
   −
If you're having trouble finding any page or some of the parameters described here on your device's WebUI, you should turn on '''"Advanced WebUI"''' mode. You can do that by '''clicking''' the '''"Basic"''' button '''under''' '''"Mode,"''' which is located at the top-right corner of the WebUI.
+
If you're having trouble finding any page or some of the parameters described here on your device's WebUI, you should turn on '''"Advanced WebUI"''' mode. You can do that by '''clicking''' the '''"Basic"''' button '''under''' '''"Mode"''', which is located at the top-right corner of the WebUI.
 
[[File:Networking rut9 manual webui basic advanced mode.gif|border|center|class=tlt-border|1102x52px]]
 
[[File:Networking rut9 manual webui basic advanced mode.gif|border|center|class=tlt-border|1102x52px]]
    
==Topology==
 
==Topology==
   −
blablabla
+
[[File:IPsec android topology.png|800px|border|class=tlt-border]]
 +
 
 +
In this configuration example we have a Teltonika router on one end of the tunnel and an Android phone on the other end. Router has a Public Static IP address and is reachable from the internet, phone in this case has a Private IP provided by the ISP.
    
==Router configuration==
 
==Router configuration==
Line 78: Line 80:  
     <tr>
 
     <tr>
 
         <th width=330; style="border-bottom: 1px solid white;></th>
 
         <th width=330; style="border-bottom: 1px solid white;></th>
         <th width=800; style="border-bottom: 1px solid white;" rowspan=2>[[|border|class=tlt-border|742x254px|right]]</th>
+
         <th width=800; style="border-bottom: 1px solid white;" rowspan=2>[[File:Phase1 settings.png|border|class=tlt-border|742x254px|right]]</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 93: Line 95:  
     <tr>
 
     <tr>
 
         <th width=330; style="border-bottom: 1px solid white;></th>
 
         <th width=330; style="border-bottom: 1px solid white;></th>
         <th width=800; style="border-bottom: 1px solid white;" rowspan=2>[[|border|class=tlt-border|748x257px|right]]</th>
+
         <th width=800; style="border-bottom: 1px solid white;" rowspan=2>[[File:Phase2 connection.png|border|class=tlt-border|748x257px|right]]</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 111: Line 113:  
<table class="nd-othertables_2">
 
<table class="nd-othertables_2">
 
     <tr>
 
     <tr>
         <th width=330; style="border-bottom: 1px solid white;></th>
+
         <th width=400; style="border-bottom: 1px solid white;></th>
         <th width=800; style="border-bottom: 1px solid white;" rowspan=2>[[|border|class=tlt-border|742x399px|right]]</th>
+
         <th width=600; style="border-bottom: 1px solid white;" rowspan=2>[[File:Phonesettings Ipsec.png|border|class=tlt-border|742x399px|right]]</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 130: Line 132:  
To test the connectivity, initiate connection from the Phone.
 
To test the connectivity, initiate connection from the Phone.
   −
Using the <code><span class="highlight">'''ipsec status'''</span></code> command we can see that IPsec tunnel is successfully established between the devices. The command output on a '''RUT''':
+
Using the <code><span class="highlight">'''ipsec status'''</span></code> command we can see that IPsec tunnel is successfully established between the devices. The command output on '''RUT''':
   −
[[|border|class=tlt-border|776x114px|center]]
+
[[File:Classic Ipsec status command.png|border|class=tlt-border]]
    
Also, as the router's LAN should be reachable from the phone, we can try pinging the router using Ping tools application:
 
Also, as the router's LAN should be reachable from the phone, we can try pinging the router using Ping tools application:
   −
[[|border|class=tlt-border|506x157px|center]]
+
[[File:Ping from phone ping tools.png|border|class=tlt-border]]
 +
 
 +
== See also ==
 +
[[RUTX12_VPN#IPsec|IPsec on Teltonika Networks devices]]
 +
 
 +
== External links ==
 +
[https://openwrt.org/docs/guide-user/services/vpn/strongswan/basics OpenWrt IPsec basics]
 +
 
 +
[https://play.google.com/store/apps/details?id=ua.com.streamsoft.pingtools&hl=en&gl=US&pli=1 Ping Tools Application]
 +
[[Category:VPN]]