Vultr

These instructions are intended for those that want to create a new Linux VPS using Vultr. These instructions also cover how to configure the external firewall and add additional IPv6 addresses.

Create a Vultr Account

  1. Login to the Vultr website and create an account.

  2. Once you complete the account registration, you should be on the Servers page.

Create a Linux Virtual Private Server

  1. On the Servers page, click on the blue + symbol, on the right of the screen, to Deploy New Server.

  2. Under Server Location, select the region that is closest to you.

  3. Under Server Type, select Ubuntu and then select 16.04 x64

  4. Under Server Size, select the $5/mo option if you only plan to run 1-5 wallets, or the $10.00/mo if you plan to run more than 5 wallets on this one VPS.

  5. Under Additional Features, click in the Enable IPv6 check box to enable IPv6.

  6. Under SSH keys, click Add New to add the SSH key that you created in the SSH: Getting Started with an SSH client and SSH Keys section of the guide.

  7. Under Firewall Group you can leave this blank for now unless you have already created a firewall policy.

  8. Under Server Hostname & Label, type in a hostname (i.e. rupx01) for the server and then click Create. The name will not have any impact on the later installation steps.

  9. Click Deploy Now to complete the creation process.

    • Once the new server has been created, it will show up on the Servers page.
  10. Click on the new server that you just created to bring up the Server Information page.

  11. Locate the IP Address and Password. Copy them and save them into a text file to be used again later in the process.

    • NOTE: You will need them multiple times throughout the setup process, so keep them handy.

Configure the External Firewall

  1. On the Server Information page, click Settings, click Firewall and then click Manage.

  2. Click Add Firewall Group.

  3. Type in a name for your new firewall policy (i.e. rupx-fw) and click Add Firewall Group. The name will not have any impact on the later installation steps.

  4. Locate the existing SSH port 22 rule that was created by default, and in the Source field click the drop down menu and select My IP.

  5. Locate and click on the plus symbol + to Add Firewall Rule.

  6. In the Protocol field, scroll up and select TCP

  7. In the Ports field type in 9050 and leave the Sources field set to Anywhere.

  8. Click on the IPv6 Rules menu bar on the left.

  9. Locate the existing SSH port 22 rule that was created by default, and in the Protocol field, scroll up and select TCP

  10. In the Ports field type in 9050 and leave the Sources field set to Anywhere.

  11. Click on the Linked Instances menu bar on the left and click the plus symbol + to the right of the VPS name, that you created in the previous steps.

  12. Click OK when prompted if you are sure you want to add this server to the firewall group.

    • NOTE: You should now see your VPS listed as a Linked Insance in the Manage Firewall Group page.

Identify Available IPv6 Addresses

  • OPTIONAL STEPS: The following steps are optional and are only required if you plan to run mutliple wallets, of the same coin, on this VPS.
  1. From the VPS provider website, select Servers from the left menu bar and then click on the server that you created (i.e. rupx01).
  2. Click on Settings.
  3. Locate the link that says configuration example and click it to open the Sample Network Configuration page.
  4. Scroll down and locate the Ubuntu 16.xx, Ubuntu 17.04 section. Copy the contents of the configuration example and paste it into a seperate text file. This template will be used to Populate the /etc/network/interfaces of the Linux VPS.
  • The contents of the configuration example should look something like this:

    auto lo
    iface lo inet loopback
    
    auto ens3
    iface ens3 inet static
            address 149.28.32.252
            netmask 255.255.254.0
            gateway 149.28.32.1
            dns-nameservers 108.61.10.10
            post-up ip route add 169.254.0.0/16 dev ens3
    
    iface ens3 inet6 static
            address 2001:19f0:5:5e83:5400:01ff:fedf:1adc
            netmask 64
            dns-nameservers 2001:19f0:300:1704::6
    
  • Using the above example, I would recommend using the following range of IPv6 addresses, assuming you want to apply at least 8 additional IP addresses on the server.**
    • 2001:19f0:5:5e83:5400:01ff:fedf:1
    • 2001:19f0:5:5e83:5400:01ff:fedf:2
    • 2001:19f0:5:5e83:5400:01ff:fedf:3
    • 2001:19f0:5:5e83:5400:01ff:fedf:4
    • 2001:19f0:5:5e83:5400:01ff:fedf:5
    • 2001:19f0:5:5e83:5400:01ff:fedf:6
    • 2001:19f0:5:5e83:5400:01ff:fedf:7
    • 2001:19f0:5:5e83:5400:01ff:fedf:8
  1. Copy the following template and paste it into the text file under the configuration example you copied in the previous steps:

    #IPv6 address #1
    up /sbin/ip -6 addr add dev ens3 <ipv6address>/64
    #IPv6 address #2
    up /sbin/ip -6 addr add dev ens3 <ipv6address>/64
    #IPv6 address #3
    up /sbin/ip -6 addr add dev ens3 <ipv6address>/64
    #IPv6 address #4
    up /sbin/ip -6 addr add dev ens3 <ipv6address>/64
    #IPv6 address #5
    up /sbin/ip -6 addr add dev ens3 <ipv6address>/64
    #IPv6 address #6
    up /sbin/ip -6 addr add dev ens3 <ipv6address>/64
    #IPv6 address #7
    up /sbin/ip -6 addr add dev ens3 <ipv6address>/64
    #IPv6 address #8
    up /sbin/ip -6 addr add dev ens3 <ipv6address>/64
    
  2. Update the template by replacing the variable <ipv6address> with your available IPv6 addresses.

    • The updated template should look like this but with your IPv6 addresses:

      #IPv6 address #1
      up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:1/64
      #IPv6 address #2
      up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:2/64
      #IPv6 address #3
      up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:3/64
      #IPv6 address #4
      up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:4/64
      #IPv6 address #5
      up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:5/64
      #IPv6 address #6
      up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:6/64
      #IPv6 address #7
      up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:7/64
      #IPv6 address #8
      up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:8/64
      

Configure Secondary IPv6 Addresses

  • OPTIONAL STEPS: The following steps are optional and are only required if you plan to run mutliple wallets, of the same coin, on this VPS.
  1. Login to the Linux VPS, via SSH, as the root user.

  2. Edit the /etc/network/interfaces file:

    nano /etc/network/interfaces
    
  3. Verify that the network interface name is ens3.

    • NOTE: It is possible that the network interface could be named something different like eth0, eth1, eth2, eth3, ens0, ens1, ens2, etc. If it is different, then you will need to update the template accordingly.
  4. Scroll down in the /etc/network/interfaces file and DELETE the lines after auto ens3.

  5. Copy the contents of the configuration example, you copied from the Vultr website, and paste it into the /etc/network/interfaces file after the line auto ens3.

    • NOTE: Be sure that you only copy/paste in the information after the line auto ens3. There should not be any duplicate lines in the file.
  6. Copy the contents of the template you just created, with the secondary IPv6 addresses, and paste it into the bottom of the file, under the existing text that you just pasted in the previous step.

  7. The contents of the file should now look something like this:

    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    #source /etc/network/interfaces.d/*
    
    auto lo
    iface lo inet loopback
    
    auto ens3
    iface ens3 inet static
                    address 149.28.32.252
                    netmask 255.255.254.0
                    gateway 149.28.32.1
                    dns-nameservers 108.61.10.10
                    post-up ip route add 169.254.0.0/16 dev ens3
    
    iface ens3 inet6 static
                    address 2001:19f0:5:5e83:5400:01ff:fedf:1adc
                    netmask 64
                    dns-nameservers 2001:19f0:300:1704::6
    
                    #IPv6 address #1
                    up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:1/64
                    #IPv6 address #2
                    up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:2/64
                    #IPv6 address #3
                    up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:3/64
                    #IPv6 address #4
                    up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:4/64
                    #IPv6 address #5
                    up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:5/64
                    #IPv6 address #6
                    up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:6/64
                    #IPv6 address #7
                    up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:7/64
                    #IPv6 address #8
                    up /sbin/ip -6 addr add dev ens3 2001:19f0:5:5e83:5400:01ff:fedf:8/64
    
  8. Close the file and save it by hitting Ctrl-X, and then type Y to confirm that you want to save it, and then hit ENTER to confirm the file name.

  9. Reboot the Linux VPS by typing reboot and hit enter:

    reboot
    
  10. Wait a couple minutes and then reconnect your Linux VPS login as root.

    • NOTE: It will take a couple of minutes for the Linux VPS to reboot. If you are unable to reconnect to the Linux VPS after a few minutes then the configuration change did not work and you will have to connect through the Console in the VPS provider website, resolve the issue with the configuration file, and reboot the server again.
  11. Run the ifconfig command to verify the new IPv6 address is now configured correctly:

    ifconfig
    
  • NOTE: You should see the new IPv6 addresses show up next to the inet6 addr lines
  1. Ping your new IPv6 address to verify that it is indeed functioning properly. Be sure to replace the variable <ipv6address> with your IPv6 address:

    ping6 <ipv6address>
    
  • NOTE: Hit Ctrl-c to stop the ping.

If you get responses from the pings then you are now done adding secondary public IPv6 addresses! You can now move on to the VPS and Hot wallet Setup section of the guide.