Difference between revisions of "Setting up an IPsec tunnel between RUT and Android phone"
Justas.Cip (talk | contribs) (Created page with "==Introduction== In this example, we're going to configure IPsec tunnel between RUT and Android phone. Since L2TP VPN configuration is not available on the newest Android pho...") |
Justas.Cip (talk | contribs) |
||
Line 38: | Line 38: | ||
# Pre-shared key - '''''your desired password;''''' | # Pre-shared key - '''''your desired password;''''' | ||
# Local identifier - '''''LAN IP of RUT;''''' | # Local identifier - '''''LAN IP of RUT;''''' | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | ===Connection configuration=== | ||
+ | ---- | ||
+ | |||
+ | <table class="nd-othertables_2"> | ||
+ | <tr> | ||
+ | <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|753x368px|right]]</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="border-bottom: 4px solid white> | ||
+ | # Local subnet - '''''0.0.0.0/.0;''''' | ||
+ | # Key exchange - '''''IKEv2;''''' | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | ===Advanced Connection settings=== | ||
+ | ---- | ||
+ | <table class="nd-othertables_2"> | ||
+ | <tr> | ||
+ | <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|752x541px|right]]</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="border-bottom: 4px solid white> | ||
+ | # Remote source IP - '''''10.0.2.0/24;''''' | ||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> |
Revision as of 12:32, 22 June 2023
Main Page > General Information > Configuration Examples > VPN > Setting up an IPsec tunnel between RUT and Android phoneIntroduction
In this example, we're going to configure IPsec tunnel between RUT and Android phone. Since L2TP VPN configuration is not available on the newest Android phones, only IPsec tunnel has to be configured.
Configuration overview and prerequisites
Before we begin, let's take a look at the configuration that we are attempting to achieve and the prerequisites that make it possible.
Prerequisites:
- RUT/RUTX series router with RUTOS firmware;
- An end device (PC, Laptop) for configuration;
- 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.
Topology
blablabla
Router configuration
Start by configuring the router. Login to the WebUI, navigate to Services → VPN → IPsec and add a new IPsec instance. Configure everything as follows.
Note: Not specified fields can be left as is or changed according to your needs.
Instance configuration
[[|border|class=tlt-border|755x406px|right]] | |
---|---|
|
Connection configuration
[[|border|class=tlt-border|753x368px|right]] | |
---|---|
|
Advanced Connection settings
[[|border|class=tlt-border|752x541px|right]] | |
---|---|
|