Back

Connecting to iDRAC VPN by using L2TP over IPsec on Ubuntu Linux 18.04

The integrated out-of-band management platform on Dell servers is called iDRAC. By default, our clients can access iDRAC interface on their servers only by connecting to a VPN. A client can also allow temporary access to the iDRAC of a specific server from the Internet, i.e., without the need for the use of a VPN. Once enabled in the Customer Portal, public access will stay enabled for the next 24 hours, and it can be turned off ahead of schedule.

Credentials and instructions on setting up a VPN connection to the OoB network are available to our clients in the "Profile > Account" section of the Customer Portal. iDRAC credentials for each server can be found on a server's details page in the Customer Portal.

This article will guide you through the steps required to set up an L2TP over IPsec connection to our VPN gateway.

Finding VPN credentials

Credentials for setting up a VPN connection to the OoB network are available in the "Profile > Account" section of the Customer Portal. You can connect to the closest location available to you in the Portal and have access to all of your servers in all of the location:

Credentials for setting up a VPN connection to the OoB network

Press a "Credentials" button to see the credentials for a specific gateway. You will be required to enter one-time password (OTP).

Press a Credentials button to see the credentials for a specific gateway

Installing required packages

1. Use the following command to update information on the newest versions of software packages and their dependencies:

sudo apt update

2. Install the L2TP plugin for NetworkManager:

sudo apt install -y network-manager-l2tp network-manager-l2tp-gnome

Setting up a new VPN connection

1. Click on the network connection icon in the top right corner of your desktop. Click the "Settings" button in the shortcuts menu:

Click on the network connection icon in the top right corner of your desktop

2. In the settings, choose the "Network" tab on the left, and click "+" button opposite of the "VPN" label to add a new VPN connection:

In the settings choose the network tab on the left

3. Choose L2TP tunneling protocol:

Choose L2TP tunneling protocol

4. In the VPN connection settings, enter VPN server, username and password which you have get in the Customer Portal earlier.

In the VPN connection settings, enter VPN server, username and password which you have get in the Customer Portal earlier

Click the "user" symbol in the password input box and select "Store the password only for this user".

5. Click on "IPsec Settings..." button to show IPsec settings.

Click on IPsec settings

Check the "Enable IPsec tunnel to L2TP host" box. Put the "Shared secret" you have got in the Customer Portal earlier to the "Pre-shared key" input box.

Set "Phase1 Algorithms" to "3des-sha1-modp1024".

Set "Phase2 Algorithms" to "3des-sha1". Press OK.

6. Go to the "IPv4" tab and scroll down to "Routes". Add a route as shown below:

Go to IPv4 tab and scroll down to routes

Save settings by clicking "Apply" button.

7. Make sure your newly created VPN connection is on:

Make sure your newly created VPN connection is on

Finding iDRAC credentials

IP address and credential of an individual server's iDRAC interface can be found on that server's management page in the Customer Portal.

Share

Suggested Articles

  • Dedicated servers

    Connecting to iDRAC VPN by using L2TP over IPsec on Fedora Linux 30

  • Dedicated servers

    How to access the out-of-band management of a Dell server