How to set up L2TP over IPsec for iDRAC on MS Windows

The integrated out-of-band management platform on Dell servers is called iDRAC. By default, access to the iDRAC interface of your servers is provided via a VPN.

If necessary, you can also allow access without a VPN by enabling temporary public access to the iDRAC interface. This can be activated in the Customer Portal on the server details page under the OOB section. Simply select Enable public access for 24 hours. Once activated, public access remains enabled for the next 24 hours but can be manually disabled at any time.

For security reasons, VPN access remains the preferred method and should be used whenever possible.

Finding VPN credentials

Credentials and instructions for setting up a VPN connection to the OOB network are available in the Customer Portal. To access them:

  1. Navigate to NetworksVPN accessVPN to DRAC
  2. Select the location and click Credentials
  3. In the opened window, you will find the credentials

Setting up a new VPN connection

  1. Go to StartSettings

  2. Choose Network & Internet

  3. Navigate to the VPN tab and click Add a VPN connection

  4. In the opened window, enter the following details:

    • VPN provider: choose Windows (built-in)
    • VPN type: choose L2TP/IPsec with pre-shared key
    • Connection name: e.g., VPN iDRAC
    • Login credentials obtained from the Customer Portal:
      • Server name or address: VPN server
      • Pre-shared key: shared secret
      • Username: login
      • Password: password
  5. Click Save

Enable additional security protocols

  1. In the VPN tab, click Change adapter options in the Related settings section
  2. Find the adapter with the same name as your VPN connection and click Change settings of this connection
  3. In the connection properties window:
    • On the Security tab:
      • Enable Allow these protocols
      • Ensure that only Challenge Handshake Authentication Protocol (CHAP) and Microsoft CHAP Version 2 (MS-CHAP v2) are enabled
    • On the Networking tab:
      • Select IPv4 protocol and open its properties using the Properties button
      • Click Advanced, then untick the Use default gateway on remote network checkbox
    • Click OK to save settings and close all open windows

Connect to VPN and add routes to iDRAC network

  1. Go to StartSettingsNetwork & InternetVPN
  2. Find your VPN connection and click Connect
  3. Once the VPN connection is established, add the routes to the iDRAC's network:
    • Go to Start, type cmd and open Command Prompt as Administrator
    • Execute the following command to get the VPN network adapter ID:
      route print
    • Scroll to the Interfaces List block and find your VPN adapter and its ID
    • Execute the following commands to add routes:
      route add 198.18.0.0 mask 255.254.0.0 0.0.0.0 if your_adapter_ID
      route add 100.64.0.0 mask 255.254.0.0 0.0.0.0 if your_adapter_ID
      Replace your_adapter_ID with the actual ID you obtained in the previous step.

Now you should be able to connect to iDRAC on your server.

Finding iDRAC credentials

The IP address and credentials for an individual server's iDRAC interface can be found in the Customer Portal:

  1. Navigate to Dedicated ServersManageYour serverDetails
  2. Scroll to the OOB section and click Credentials

On this page