Linode Library Home
Linode Library RSS Feed
Home
Print View View Source

Remote Access

Published: by

The Remote Access section of the Linode Manager contains important network settings for your Linode. Use this tab to find your IP address, set the reverse DNS, configure IP failover, and swap IP addresses with another Linode. You can also access the Linode Shell (Lish) console to remotely connect to your Linode and troubleshoot problems.

Contents

Network Access

The Network Access section provides access to the settings for reverse DNS, IP failover, and swapping IP addresses. It also displays your Linode's IP addresses, default gateways, and DNS resolvers.

Setting Reverse DNS

The ability to associate an IP address with a domain name is referred to as forward DNS resolution. Reverse DNS lookup is the inverse process, where an IP address resolves to its designated domain name. Official Internet documents state that "every Internet-reachable host should have a name," and that the name should match a reverse pointer record. (See RFC 1033 and RFC 1912.)

Here's how to set reverse DNS for your domain names:

Note

Before setting reverse DNS, verify that you have created a matching forward DNS record for the IP address. For instructions, see Adding DNS Records. If you use a third-party DNS provider, create the forward DNS record with your provider's management tool.

  1. Log in to the Linode Manager.
  2. Click the Linodes tab. A list of your virtual private servers appears.
  3. Select your Linode. The Linode's dashboard appears.
  4. Click the Remote Access tab.
  5. Select the Reverse DNS link, as shown in the below image.
The Reverse DNS link
  1. Enter a domain name in the Hostname field, as shown in the below image.
Adding the domain name for reverse DNS
  1. Click Look up. A message appears indicating that a match has been found for both your IPv4 and IPv6 addresses.
Reverse DNS Match found
  1. Click Yes beneath the desired address. Note that you can select only one address at a time. If you want to set up reverse DNS for both the IPv4 and IPv6 addresses, you can perform another lookup and select the other address.
  2. Repeat steps 1-8 for every other domain name you host on your Linode.

You have successfully configured reverse DNS.

Note

If you receive the message that no match was found, this indicates that you need to update the forward DNS for this domain. Make sure the domain or subdomain in question resolves to the IP address for which you are trying to set the reverse DNS. If you've recently made a DNS change, you may need to wait 24-48 hours for it to propagate.

Resetting Reverse DNS

To reset reverse DNS to the Linode domain, which will be something like li12-345.members.linode.com, follow these instructions:

  1. Log in to the Linode Manager.
  2. Click the Linodes tab. A list of your virtual private servers appears.
  3. Select your Linode. The Linode's dashboard appears.
  4. Click the Remote Access tab.
  5. Select the Reverse DNS link, as shown in the below image.
The Reverse DNS link
  1. Select the Reset link next to the reverse DNS setting you want to revert to the default Linode domain.
The Reset link
  1. Click Yes when asked to confirm the reset.

You'll see a confirmation message that the reverse DNS has been reset.

Configuring IP Failover

If you're using two Linodes to make a website highly available with Heartbeat and Pacemaker , you can use the Linode Manager to configure IP failover. Here's how:

  1. Log in to the Linode Manager.
  2. Click the Linodes tab. A list of your virtual private servers appears.
  3. Select the primary Linode. The Linode's dashboard appears.
  4. Click the Remote Access tab.
  5. Select the IP Failover link. The webpage shown below appears.
Configuring IP failover
  1. Select the checkbox of the secondary Linode, as shown above.
  2. Click Save Changes.
  3. Reboot all Linodes that will bring up the floating IP.

You have successfully configured IP failover.

Networking Restrictions

Linode's philosophy is to provide a plain Internet connection to every customer. We also implement some networking restrictions to prevent malicious activity and the abuse of our service.

By default, Linodes are able to send and receive traffic only for the MAC and IP addresses they are assigned. This restriction also applies to all ARP and IPv6 Neighbor Discovery traffic.

If you want to allow one Linode to use another Linode's IP address, such as for a high availability setup, you will need to enable IP Failover in the Linode Manager for every Linode that needs to use the IP address. For more information on enabling IP Failover, please see the previous section of this guide.

Swapping IP Addresses

If you have two Linodes in the same data center, you can use the IP swap feature to switch their IP addresses. This could be useful in several situations. For example, if you've built a new server to replace an old one, you could swap IP addresses instead of updating the DNS records.

Here's how to swap IP addresses:

  1. Log in to the Linode Manager.
  2. Click the Linodes tab. A list of your virtual private servers appears.
  3. Select a Linode. The Linode's dashboard appears.
  4. Click the Remote Access tab.
  5. Select the IP Swap link. The webpage shown below appears.
Linode selection page for IP swap
  1. From the With Linode menu, select a Linode.

Note

The menu only displays Linodes hosted in the same data center as the current Linode.

  1. Click Select. The webpage shown below appears.
Adding the domain name for Reverse DNS
  1. Select both of the Move It checkboxes to verify that you want the IP addresses switched.
  2. Click Do it.

The Linode Manager will shut down both Linodes to switch the IP address. Don't forget to turn the Linodes back on after the process is complete - you'll need to boot them manually.

Adding Private IP Addresses

The Linode Manager allows you to add private IP addresses for fast and secure connections between Linodes located in the same data center. Here's how to add a private IP address:

  1. Log in to the Linode Manager.
  2. Click the Linodes tab. A list of your virtual private servers appears.
  3. Select a Linode. The Linode's dashboard appears.
  4. Click the Remote Access tab.
  5. Select the Add a Private IP link, as shown below.
Adding Private IP addresses
  1. The Linode Manager assigns a private IP address to your Linode.
  2. Configure static networking. See the Linux Static IP Configuration guide for instructions.

If you'd like to add more than one private IP address to your Linode, please contact support.

Adding Public IP Addresses

You can use the Linode Manager to add additional public IP addresses to your account. However, due to the impending exhaustion of the IPv4 address space, Linode requires users to provide technical justification. To add another public IP address, please contact support with your justification.

Console Access

The Lish console allows you to access your Linode at any time, even if you've messed up your network settings. To access Lish, use the Ajax console or an SSH client application installed on your computer. For more information about Lish, including usage tips, see Using the Linode Shell.

Using the Ajax Console

If you need to quickly access Lish, use the Ajax Console to open it directly from your web browser. Here's how:

  1. Log in to the Linode Manager.
  2. Click the Linodes tab. A list of your virtual private servers appears.
  3. Select a Linode. The Linode's dashboard appears.
  4. Click the Remote Access tab. Scroll down to the Console Access section.
  5. Select the Launch Lish Ajax Console link. The window shown below appears.
The Lish Ajax console
  1. Enter a username and password to log in.

You are now logged in to the Lish Ajax console.

Using SSH

You can also access Lish with an SSH client application installed on your computer. Here's how:

  1. Log in to the Linode Manager.
  2. Click the Linodes tab. A list of your virtual private servers appears.
  3. Select a Linode. The Linode's dashboard appears.
  4. Click the Remote Access tab. Scroll down to the Console Access section, as shown below.
The Console Access section of the Remote Access tab
  1. Accessing Lish via SSH requires additional authentication over and above your Linode's username and password. Enter a password for Lish in the Lish via SSH Password field, and then click Change Password. Or, if you use SSH key pair authentication, copy and paste your public key in to the Lish via SSH Keys field, and then click Submit Keys.
  2. Select the Lish via SSH link, as shown below.
  3. Your SSH client connects to your Linode via Lish. If you set a password for Lish, enter that first, and then enter a username and password to log in.

You are now logged in to Lish via SSH.

Creative Commons License

This guide is licensed under a Creative Commons Attribution-NoDerivs 3.0 United States License.

Last edited by Sharon Campbell on Monday, April 7th, 2014 (r4371).