Skip to main content

Tutorial: Activate a Subscription License Key Using the Command-line Interface

Abstract

Purchase and activate a subscription license for Access Server. This tutorial shows you how to increase your VPN connections.

Overview

Access Server subscription licenses manage your VPN connections with the flexibility to change them up or down as you need. This page steps you through purchasing and activating a subscription license key on our site. We strive to support you with the benefits offered through our pricing model:

  • Subscription license keys support the Elastic Computing model of IaaS Cloud operations.

  • We retain our economical and meaningful charging model based on the needed number of simultaneous VPN connections.

  • While other business VPNs may charge based on the number of CPU cores or the bandwidth of the server, our model focuses on actual VPN connections consumed.

  • Subscriptions are cloud-friendly and streamlined, support automated renewals, and maximize your VPN usage.

This tutorial shows you how to activate subscription license keys from the command-line interface (CLI).

Managing subscriptions for Access Server can be done through both the Admin Web UI and the command-line interface (CLI). While the Admin Web UI offers a user-friendly approach, the command-line interface gives advanced users more direct control over subscription activation and management. This tutorial will guide you through activating and removing subscriptions via the command line.

  • An installed Access Server 2.8.1 and newer.

  • An OpenVPN.net account on the Access Server portal.

  • Console access and the ability to get root access.

  1. Sign in (or create an account) on openvpn.net for Access Server.

  2. Click Activation Key.

    • Current keys display here if you have any.

  3. Click to purchase.

  4. Select your desired connections and billing cycle (monthly or yearly).

  5. Click Purchase.

  6. Complete the secure checkout.

  7. Copy your new activation key.

  1. Connect to your console and get root privileges.

  2. Switch to the scripts directory:

    cd /usr/local/openvpn_as/scripts/
  3. Activate your subscription:

    ./sacli -v "InsertTheSubscriptionActivationKeyHere"1 LoadSubscription

    1

    Ensure you paste your subscription license key here to replace the text.

  4. Verify that it works:

    ./sacli SubscriptionStatus
  1. Connect to your console and get root privileges.

  2. Switch to the scripts directory:

    cd /usr/local/openvpn_as/scripts/
  3. Remove your subscription:

    ./sacli DeactivateSubscription

Important

Removing a subscription from Access Server simply means the server stops using the subscription. It doesn’t mean the subscription stops working on other servers or billing stops. Billing is handled separately from our Access Server portal on our website. Removing a subscription simply means that your particular Access Server is no longer licensed through the subscription licensing model, but you can always license it again.