Back

Dedicated servers

How to setup L2TP over IPsec for iDRAC on MS Windows

1. Go to Start and select Settings. 

How to setup L2TP over IPsec for iDRAC on MS Windows

2. Choose "Network & Internet". 

How to setup L2TP over IPsec for iDRAC on MS Windows

3. Go to "VPN" tab and click "Add a VPN connection". 

How to setup L2TP over IPsec for iDRAC on MS Windows

4. In the following window choose "Windows (built-in)" in the "VPN provider" list, choose "L2TP/IPsec with pre-shared key" in the "VPN type", and fill the rest of the fields with data from portal.servers.com, where:

  • Server name or address: VPN server
  • User name: Login
  • Password: Password
  • Pre-shared key: Shared secret
How to setup L2TP over IPsec for iDRAC on MS Windows

5. Click "Save" button.

6. Activate additional security protocols for the newly created connection. On the VPN tab click "Change adapter options" in the "Related settings" section.

How to setup L2TP over IPsec for iDRAC on MS Windows

7. Choose adapter that have the same name as your VPN connection and click "Change settings of this connection". 

How to setup L2TP over IPsec for iDRAC on MS Windows

8. In the connection properties window go to "Security" tab and enable section "Allow these protocols".

Make sure that only "Challenge Handshake Authentication Protocol (CHAP)" and "Microsoft CHAP Cersion 2 (MS-CHAP v2)" are enabled, then click "OK".

How to setup L2TP over IPsec for iDRAC on MS Windows

Then switch to the "Networking" tab. Select the IPv4 protocol and open its properties using the "Properties" button. Click the "Advanced" button in the properties dialogue, and clear "Use default gateway on remote network" checkbox.

How to setup L2TP over IPsec for iDRAC on MS Windows

Click OK to save settings and close opened dialogues.

9. Go to Start → Settings → Network → VPN, choose your VPN connection and click "Connect".

10. As soon as VPN connection is established, add a route to iDRAC's network. Go to Start, type cmd and run Command Prompt application with Administrator privileges: 

How to setup L2TP over IPsec for iDRAC on MS Windows

11. Type the following command to get the VPN network adapter ID: 

route print

Go to "Interfaces List" block and look for your VPN adapter and its ID:

How to setup L2TP over IPsec for iDRAC on MS Windows

12. Execute the following command, replacing "your_adapter_ID" with actual ID you received on the previous step:

route add -p 198.18.0.0 mask 255.254.0.0 0.0.0.0 if your_adapter_ID
How to setup L2TP over IPsec for iDRAC on MS Windows

13. Now you should be able to connect to iDRAC of your server.

Share