Changes

no edit summary
Line 11: Line 11:  
'''Prerequisites''':
 
'''Prerequisites''':
   −
*Two RUTxxx routers of any type (excluding [[RUT850]])
+
*Two RUTxxx routers of any type
 
*A SIM card with a Public Static or Public Dynamic IP address for the L2TP Server
 
*A SIM card with a Public Static or Public Dynamic IP address for the L2TP Server
 
*An end device (PC, Laptop, Tablet, Smartphone) to configure the routers
 
*An end device (PC, Laptop, Tablet, Smartphone) to configure the routers
Line 31: Line 31:  
----
 
----
   −
*Login to the router's WebUI and go to '''Services → VPN → L2TP'''. Select '''Role: Server''', enter a name for the new instance and click the "Add" button:
+
<table class="nd-othertables_2">
 +
    <tr>
 +
        <th width=355; style="border-bottom: 1px solid white;></th>
 +
        <th width=790; style="border-bottom: 1px solid white;" rowspan=2> [[File:RutOS_L2TP_IPsec_VPN_7,8_add_L2TP_Server.png|770px|right]]</th>
 +
    </tr>
 +
    <tr>
 +
        <td style="border-bottom: 1px solid white;>
 +
Login to the router's WebUI and navigate to the '''Services → VPN → L2TP''' page and do the following:
 +
<ol>
 +
    <li>Select '''Role: Server'''.</li>
 +
    <li>Enter a '''custom configuration name'''.</li>
 +
    <li>Click the '''Add''' button. You will be prompted to the configuration window</li>
 +
</ol>
 +
        </td>
 +
    </tr>
 +
</table>
   −
[[File:Networking rutxxx configuration examples l2tp server v1.jpg|border|class=tlt-border|1100px]]
   
----
 
----
   −
*Click the "Edit" button located to the right of the newly created L2TP Server to enter the instance's settings window. The configuration is fairly simple, just remember to '''Enable''' the instance:
+
<table class="nd-othertables_2">
 +
    <tr>
 +
        <th width=355; style="border-bottom: 1px solid white;></th>
 +
        <th width=790; style="border-bottom: 1px solid white;" rowspan=2>[[File:RutOS_L2TP_IPsec_VPN_7,8_add_L2TP_Server_config.png|770px|right]]</th>
 +
    </tr>
 +
    <tr>
 +
        <td style="border-bottom: 1px solid white>
 +
<ol>
 +
    <li>'''Enable''' the L2TP instance.</li>
 +
    <li>Click on the '''Add''' button to add a new user</li>
 +
    <li>Enter a '''User name''' and '''Password''' for authentication for the client.</li>
 +
    <li>Optionally, set a fixed IP for this client (if left empty, the client will receive the first free IP from the IP range).</li>
 +
    <li>Don't forget to '''Save''' the changes.</li>
 +
</ol>
 +
        </td>
 +
    </tr>
 +
</table>
   −
[[File:Networking rutxxx configuration examples l2tp server configuration v1.jpg|border|class=tlt-border|1100px]]
+
===L2TP Client (RUT2)===
 
----
 
----
   −
*The rest of the parameters are user preferential so you should set them as you see fit. A short explanation on these parameters is provided below:
+
*Now let's configure the L2TP '''Client'''.
**'''Local IP''' defines the server's virtual IP address
  −
**'''Remote IP range''' parameters define the range of virtual IP addresses that will be assigned to connecting clients
  −
**'''User name''' and '''Password''' parameters define a client's authentication info
     −
Once you're done setting these parameters don't forget to click the '''Save''' button.
+
<table class="nd-othertables_2">
 +
    <tr>
 +
        <th width=355; style="border-bottom: 1px solid white;></th>
 +
        <th width=790; style="border-bottom: 1px solid white;" rowspan=2> [[File:RutOS_L2TP_IPsec_VPN_7,8_1.png|770px|right]]</th>
 +
    </tr>
 +
    <tr>
 +
        <td style="border-bottom: 1px solid white;>
 +
Login to the router's WebUI and navigate to the '''Services → VPN → L2TP''' page and do the following:
 +
<ol>
 +
    <li>Select '''Role: Client'''.</li>
 +
    <li>Enter a '''custom configuration name'''.</li>
 +
    <li>Click the '''Add''' button. You will be prompted to the configuration window</li>
 +
</ol>
 +
        </td>
 +
    </tr>
 +
</table>
   −
===L2TP Client (RUT2)===
   
----
 
----
   −
*Now let's configure the L2TP '''Client'''. Login to the router's WebUI and go to '''Services → VPN → L2TP'''. Select '''Role: Client''', enter a name for the new instance and click the "Add" button:
+
<table class="nd-othertables_2">
 
+
    <tr>
[[File:Networking rutxxx configuration examples l2tp client v1.jpg|border|class=tlt-border|1100px]]
+
        <th width=355; style="border-bottom: 1px solid white;></th>
----
+
        <th width=790; style="border-bottom: 1px solid white;" rowspan=2>[[File:RutOS_L2TP_IPsec_VPN_7,8_2.png|770px|right]]</th>
 +
    </tr>
 +
    <tr>
 +
        <td style="border-bottom: 1px solid white>
 +
<ol>
 +
    <li>'''Enable''' the L2TP instance.</li>
 +
    <li>Enter the '''Public IP''' of RUT1</li>
 +
    <li>Enter the '''Username''' that we created on RUT1</li>
 +
    <li>Enter the '''Password''' that we created on RUT1</li>
 +
    <li>Don't forget to '''Save''' the changes.</li>
 +
</ol>
 +
        </td>
 +
    </tr>
 +
</table>
   −
*Click the "Edit" button located to the right of the newly created L2TP Client to enter the instance's settings window. In the settings window, '''Enable''' the L2TP instance, specify the server's '''Public (WAN) IP address''' and the '''client's authentication''' info as specified in the server's configuration:
  −
  −
[[File:Networking rutxxx configuration examples l2tp client configuration v1.jpg|border|class=tlt-border|1100px]]
  −
  −
Once this is done, don't forget to save the changes.
  −
----
     −
*'''Optional''': if you plan on using the server as a web proxy, you should also enable the '''Default route''' option in the client's configuration:
+
*'''Note:''' ''if you plan on using the server as a web proxy, you should also enable the '''Default route''' option in the client's configuration.''
   −
[[File:Networking rutxxx configuration examples l2tp client configuration 2 v1.jpg|border|class=tlt-border|1100px]]
      
==Testing the setup==
 
==Testing the setup==
Line 81: Line 128:  
*[[L2TP over IPsec]]
 
*[[L2TP over IPsec]]
 
*Other types of VPNs suported by RUTxxx devices:
 
*Other types of VPNs suported by RUTxxx devices:
**[[OpenVPN configuration examples RUT R 00.07|OpenVPN configuration examples]]
+
**[[OpenVPN configuration examples|OpenVPN configuration examples]]
 
**[[IPsec RUTOS configuration example|IPsec configuration examples]]
 
**[[IPsec RUTOS configuration example|IPsec configuration examples]]
 
**[[GRE Tunnel configuration examples RutOS|GRE Tunnel configuration examples]]
 
**[[GRE Tunnel configuration examples RutOS|GRE Tunnel configuration examples]]
 
**[[PPTP configuration examples RutOS|PPTP configuration examples]]
 
**[[PPTP configuration examples RutOS|PPTP configuration examples]]
 
[[Category:VPN]]
 
[[Category:VPN]]