Jump to content

Template:Networking rutxxx configuration examples l2tp pover ipsec windows: Difference between revisions

No edit summary
No edit summary
Line 32: Line 32:


===L2TP Server (RUT1)===
===L2TP Server (RUT1)===
----
First, you'll need to configure an L2TP server instance on your router. Adhere to the instructions below for guidance.
----
----
<ul>
<ul>
Line 41: Line 43:
             <li>Click the <i>Edit</i> button next to the newly created L2TP instance.</li>
             <li>Click the <i>Edit</i> button next to the newly created L2TP instance.</li>
         </ol>
         </ol>
     </li>[[File:{{{file_l2tp_add}}}|border|class=tlt-border]]
     </li>[[File:{{{file_1}}}|border|class=tlt-border]]
----
----
     <li>Configure the L2TP server instance:</li>
     <li>Configure the L2TP server instance:</li>
Line 49: Line 51:
             <li>Optionaly, set a fixed IP for this client (if left empty, client will receive first free IP from the IP range).</li>
             <li>Optionaly, set a fixed IP for this client (if left empty, client will receive first free IP from the IP range).</li>
             <li>Don't forget to <i>Save</i> the changes.</li>
             <li>Don't forget to <i>Save</i> the changes.</li>
         </ol>[[File:{{{file_l2tp_config}}}|border|class=tlt-border]]
         </ol>[[File:{{{file_2}}}|border|class=tlt-border]]
     </li>
     </li>
</ul>
</ul>
Line 55: Line 57:
===IPsec===
===IPsec===
----
----
You must configure a working IPsec Transport connection. This subsection contains instructions on how to do just that. Other used parameters will be defaults; You can find explanations for those parameters in the '''[[VPN#IPsec|VPN manual page, IPsec section]]'''.
Next, you must configure a working IPsec Transport connection. This subsection contains instructions on how to do just that. Other used parameters will be defaults; you can find explanations for those parameters in the '''[[{{{name}}}_VPN#IPsec|VPN manual page, IPsec section]]'''.
 
----
<li>Go to '''Services --> VPN --> IPsec.''' Enter a name for your IPsec instance and click '''ADD'''.</li>
 
[[File:L2TPWIN10-05.png|border|class=tlt-border]]<br>
<li>Your instance will appear like in the example and then press '''Edit.'''</li>
[[File:L2TPWIN10-06.png|border|class=tlt-border]]<br>
<ul>
<ul>
<div>'''1.''' Enable instance.</div>
    <li>Go to the <b>Services → VPN → IPsec</b> page and do the following:
<div>'''2.''' Select Type (Transport).</div>
        <ol>
<div>'''3.''' Leave other settings as default and press Save.</div>
            <li>Enter a custom name for the IPsec instance.</li>
</ul>
            <li>Click the <i>Add</i> button.</li>
[[File:L2TPWIN10-07.png|border|class=tlt-border]]<br>
            <li>Click the <i>Edit</i> button next to the newly created instance.</li>
<li>Then go back to the IPsec overview window.
        </ol>[[File:{{{file_3}}}|border|class=tlt-border]]
<ul>
    </li>
<div>'''1.''' Press Add Pre-shared Keys (it should appear like in the example).</div>
    <li>In the IPsec Configuration page, do the following (and leave the rest as defaults, unless your specific configuration requires otherwise):
<div>'''2.''' Create Pre-shared Key.</div>
        <ol>
<div>'''3.''' Write Secret’s ID selector (%any or users public IP address).</div>
            <li>Enable the instance.</li>
<div>'''4.''' Press '''Save'''</div>
            <li>Select <i>Type: Transport</i> and save changes.</li>
        </ol>[[File:{{{file_4}}}|border|class=tlt-border]]
    </li>
    <li>After having saved the changes, you will be redirected back to the main IPsec page. While there, locate the <b>Pre-shared Keys</b> section and do the following:
        <ol>
            <li>Click the <i>Add</i> button.</li>
            <li>Enter your <i>Pre-shared key</i>.</li>
            <li>Enter <i>%any</i> under <i>Secret's ID selector</i>.</li>
            <li>Click the <i>Save</i> button.</li>
        </ol>[[File:{{{file_5}}}|border|class=tlt-border]]
    </li>
</ul>
</ul>
</li>
[[File:L2TPWIN10-08.png|border|class=tlt-border|color=black]]


==Windows 10 client Configuration==
==Windows 10 client Configuration==