Speedify Command Line Interface

Speedify CLI The Speedify CLI is a cross-platform utility to help command and monitor Speedify without using the traditional user interface. It is meant to be run on the same device that it is controlling.

The output from Speedify CLI is always one of the following:

  • On success, its exit value is 0 and it prints JSON to the console. If there are more than one JSON objects they will be separated by double newlines.
  • On error, its exit value is one of the following:
    • 1 = Error from the Speedify API, outputs a JSON error on stderr
    • 2 = Invalid Parameter, outputs a text error message on stderr
    • 3 = Missing Parameter, outputs a text error message on stderr
    • 4 = Unknown Parameter, outputs the full usage message on stderr

For errors from the Speedify API (1), a JSON error message is emitted on stderr. This error contains the fields:

  • "errorCode" - a numeric code representing this error,
  • "errorType" - a short text code of the error category
  • "errorMessage" - a plain text message about the problem

Example Speedify API error message:

<code class="text language-text">{
        "errorCode":    3841,
        "errorType":    "Timeout waiting for result",
        "errorMessage": "Timeout"
}

Usage

The CLI contains the following commands:

<code class="text language-text">speedify_cli.exe v8.0.1.6875
Usage : speedify_cli.exe action
Actions:
   adapter datalimit daily <adapter id> <data usage in bytes|unlimited>
   adapter datalimit dailyboost <adapter id> <additional bytes>
   adapter datalimit monthly <adapter id> <data usage in bytes|unlimited> <day of the month to reset on|0 for last 30 days>
   adapter encryption <adapter id> <on|off>
   adapter overlimitratelimit <adapter id> <speed in bits per second|0 to stop using>
   adapter priority <adapter id> <always|secondary|backup|never>
   adapter ratelimit <adapter id> <speed in bits per second|unlimited>
   adapter resetusage <adapter id>
   connect [ closest | public | private | p2p | country [city [number]] | last ]
   connectmethod [closest | public | private | p2p | country [city [number]] ]
   daemon exit
   directory [directory server domain]
   dns <ip address> ...
   disconnect
   encryption <on|off>
   jumbo <on|off>
   login <username> <password>
   login auto
   login oauth <access token>
   logout
   mode <redundant|speed>
   overflow <speed in mbps>
   packetaggr <on|off>
   ports [port/proto] ...
   privacy crashreports <on|off>
   privacy dnsleak <on|off>
   privacy killswitch <on|off>
   show <servers|settings|privacy|adapters|currentserver|user|directory|connectmethod>
   speedtest [showProgress]
   startupconnect <on|off>
   state
   stats [duration in seconds]
   transport <auto|tcp|udp>
   version

Commands

adapter datalimit daily <adapter id> <data usage in bytes|unlimited>

The adapter datalimit daily limit the data usage for a specific adapter on a daily basis. The usage can be either limited in bytes or unlimited. This will set the maxDaily value accordingly. The adapter guid can be found by using the show adapters option. Whether the adapter is disabled or rate limited is controlled by the adapter overlimitratelimit setting.

<code class="text language-text">$ speedify_cli adapter datalimit daily {D5306735-8BD9-4F89-A1AF-F485CA23208C} 0
[{
        "adapterID":    "{D5306735-8BD9-4F89-A1AF-F485CA23208C}",
        "description":  "Intel(R) Wireless-AC 9260 160MHz",
        "name": "Wi-Fi",
        "state":    "connected",
        "type": "Wi-Fi",
        "priority": "always",
        "connectedNetworkName": "connectify",
        "connectedNetworkBSSID":    "44:d9:e7:ff:ff:ff",
        "rateLimit":    0,
        "dataUsage":    {
            "usageMonthly": 391468647,
            "usageDaily":   391468647,
            "usageMonthlyLimit":    0,
            "usageMonthlyResetDay": 0,
            "usageDailyLimit":  0,
            "usageDailyBoost":  0,
            "overlimitRatelimit":   0
        }
    }, {
...

adapter datalimit dailyboost <adapter id> <additional bytes>

Bumps up the daily datalimit for today only on a specific adapter on a daily basis. The adapter guid can be found by using the show adapters option.

<code class="text language-text">$ speedify_cli adapter datalimit dailyboost {D5306735-8BD9-4F89-A1AF-F485CA23208C} 0
[{
        "adapterID":    "{D5306735-8BD9-4F89-A1AF-F485CA23208C}",
        "description":  "Intel(R) Wireless-AC 9260 160MHz",
        "name": "Wi-Fi",
        "state":    "connected",
        "type": "Wi-Fi",
        "priority": "always",
        "connectedNetworkName": "connectify",
        "connectedNetworkBSSID":    "44:d9:e7:ff:ff:ff",
        "rateLimit":    0,
        "dataUsage":    {
            "usageMonthly": 391471018,
            "usageDaily":   391471018,
            "usageMonthlyLimit":    0,
            "usageMonthlyResetDay": 0,
            "usageDailyLimit":  0,
            "usageDailyBoost":  0,
            "overlimitRatelimit":   0
        }
    }, {
...

adapter datalimit monthly <adapter id> <data usage in bytes|unlimited> <day of the month to reset on|0 for last 30 days>

The adapter datalimit monthly sets a monthly data cap that resets on a set date or lasts 30 days. The usage can be either limited in bytes or unlimited. This will set the max and resetDay accordingly. Whether the adapter is disabled or rate limited is controlled by the adapter overlimitratelimit setting.

<code class="text language-text">$ speedify_cli adapter datalimit monthly {D5306735-8BD9-4F89-A1AF-F485CA23208C} 2000000000 0
[{
        "adapterID":    "{D5306735-8BD9-4F89-A1AF-F485CA23208C}",
        "description":  "Intel(R) Wireless-AC 9260 160MHz",
        "name": "Wi-Fi",
        "state":    "connected",
        "type": "Wi-Fi",
        "priority": "always",
        "connectedNetworkName": "connectify",
        "connectedNetworkBSSID":    "44:d9:e7:ff:ff:ff",
        "rateLimit":    0,
        "dataUsage":    {
            "usageMonthly": 391472299,
            "usageDaily":   391472299,
            "usageMonthlyLimit":    2000000000,
            "usageMonthlyResetDay": 0,
            "usageDailyLimit":  0,
            "usageDailyBoost":  0,
            "overlimitRatelimit":   0
        }
    }, {
...

adapter encryption <adapter id> <on|off>

Controls encryption on a single adapter. Note that using the encryption command will remove all per-adapter encryption settings. Most of the time, you'll just want to use the encryption command that changes all adapters at same time.

<code class="text language-text">$ speedify_cli adapter encryption {D5306735-8BD9-4F89-A1AF-F485CA23208C} off
{
    "jumboPackets": true,
    "encrypted":    true,
    "allowChaChaEncryption":    true,
    "bondingMode":  "speed",
    "startupConnect":   true,
    "transportMode":    "auto",
    "packetAggregation":    true,
    "forwardedPorts":   [{
            "protocol": "tcp",
            "port": 8001
        }],
    "perConnectionEncryptionEnabled":   true,
    "perConnectionEncryptionSettings":  [{
            "adapterID":    "{D5306735-8BD9-4F89-A1AF-F485CA23208C}",
            "encrypted":    false
        }],
    "overflowThreshold":    30
}

adapter overlimitratelimit <adapter id> <speed in bits per second|0 to stop using>

When an adapter datalimit is hit, this rate limit (in bit per second) is applied to the adapter. Set to 0 to disable the adapter.

<code class="text language-text">$ speedify_cli adapter overlimitratelimit {D5306735-8BD9-4F89-A1AF-F485CA23208C} 0
[{
        "adapterID":    "{D5306735-8BD9-4F89-A1AF-F485CA23208C}",
        "description":  "Intel(R) Wireless-AC 9260 160MHz",
        "name": "Wi-Fi",
        "state":    "connected",
        "type": "Wi-Fi",
        "priority": "always",
        "connectedNetworkName": "connectify",
        "connectedNetworkBSSID":    "44:d9:e7:ff:ff:ff",
        "rateLimit":    0,
        "dataUsage":    {
            "usageMonthly": 391475316,
            "usageDaily":   391475316,
            "usageMonthlyLimit":    0,
            "usageMonthlyResetDay": 0,
            "usageDailyLimit":  0,
            "usageDailyBoost":  0,
            "overlimitRatelimit":   0
        }
    }, {
...

adapter priority <adapter id> <always|secondary|backup|never>

The adapter priority command allows the user to choose which adapter gets one of the following priorities:

| Priority | Description | | -------- | ----------- | | always | Use whenever connected | | secondary | Use less than Always connection- only when Always connections are congested or not working | | backup | Only use when other connections are unavailable | | never | Adapter is not used |

This will set priority as one of the above mentioned options accordingly.

<code class="text language-text">$ speedify_cli adapter priority {D5306735-8BD9-4F89-A1AF-F485CA23208C} always
[{
        "adapterID":    "{D5306735-8BD9-4F89-A1AF-F485CA23208C}",
        "description":  "Intel(R) Wireless-AC 9260 160MHz",
        "name": "Wi-Fi",
        "state":    "connected",
        "type": "Wi-Fi",
        "priority": "always",
        "connectedNetworkName": "connectify",
        "connectedNetworkBSSID":    "44:d9:e7:ff:ff:ff",
        "rateLimit":    0,
        "dataUsage":    {
            "usageMonthly": 391475316,
            "usageDaily":   391475316,
            "usageMonthlyLimit":    0,
            "usageMonthlyResetDay": 0,
            "usageDailyLimit":  0,
            "usageDailyBoost":  0,
            "overlimitRatelimit":   0
        }
    }, {
...

adapter ratelimit <adapter id> <speed in bits per second|unlimited>

The adapter ratelimit command allows the user to throttle the adapter's maximum speed, in bits per second.

<code class="text language-text">$ speedify_cli adapter ratelimit {D5306735-8BD9-4F89-A1AF-F485CA23208C} 0
[{
        "adapterID":    "{D5306735-8BD9-4F89-A1AF-F485CA23208C}",
        "description":  "Intel(R) Wireless-AC 9260 160MHz",
        "name": "Wi-Fi",
        "state":    "connected",
        "type": "Wi-Fi",
        "priority": "always",
        "connectedNetworkName": "connectify",
        "connectedNetworkBSSID":    "44:d9:e7:ff:ff:ff",
        "rateLimit":    0,
        "dataUsage":    {
            "usageMonthly": 391475316,
            "usageDaily":   391475316,
            "usageMonthlyLimit":    0,
            "usageMonthlyResetDay": 0,
            "usageDailyLimit":  0,
            "usageDailyBoost":  0,
            "overlimitRatelimit":   0
        }
    }, {
...

adapter resetusage <adapter id>

The adapter resetusage command resets the statistics associated with this adapter. This restarts any daily and monthly data caps.

<code class="text language-text">$ speedify_cli adapter resetusage {D5306735-8BD9-4F89-A1AF-F485CA23208C}
[{
        "adapterID":    "{D5306735-8BD9-4F89-A1AF-F485CA23208C}",
        "description":  "Intel(R) Wireless-AC 9260 160MHz",
        "name": "Wi-Fi",
        "state":    "connected",
        "type": "Wi-Fi",
        "priority": "always",
        "connectedNetworkName": "connectify",
        "connectedNetworkBSSID":    "44:d9:e7:ff:ff:ff",
        "rateLimit":    0,
        "dataUsage":    {
            "usageMonthly": 0,
            "usageDaily":   0,
            "usageMonthlyLimit":    0,
            "usageMonthlyResetDay": 0,
            "usageDailyLimit":  0,
            "usageDailyBoost":  0,
            "overlimitRatelimit":   0
        }
    }, {
...

connect [ closest | public | private | p2p | country [city [number]] | last ]

The connect command connects to a server based on your connectmethod setting, or a server of your choosing. It prints details of the server it has selected.

The show servers command will give you a detailed list of servers with their countries, cities and number as fields that you can use in this command.

To connect to the nearest server in a particular country, pass along a two-letter country code drawn from the speedify_cli show servers command:

<code class="text language-text">  $ speedify_cli connect ca

To connect to a particular city, pass along a two-letter country code and city, drawn from the speedify_cli show servers command:

<code class="text language-text">  $ speedify_cli connect us-atlanta

To connect to a specific server, pass along a two-letter country code, city, and number, drawn from the speedify_cli show servers command:

<code class="text language-text">  $ speedify_cli connect us-atlanta-3

Example:

<code class="text language-text">$ speedify_cli connect
{
    "tag":  "privateus-newark-18",
    "friendlyName": "United States - Newark #18",
    "country":  "us",
    "city": "newark",
    "num":  18,
    "isPrivate":    true,
    "torrentAllowed":   false,
    "publicIP": ["69.1.1.1"]
}

connectmethod [closest | public | private | p2p | country [city [number]] ]

The connect command connects to a server based on your connectmethod setting, or a server of your choosing. It prints details of the server it has selected.

The show servers command will give you a detailed list of servers with their countries, cities and number as fields that you can use in this command.

To connect to the nearest server in a particular country, pass along a two-letter country code drawn from the speedify_cli show servers command:

<code class="text language-text">  $ speedify_cli connect ca

To connect to a particular city, pass along a two-letter country code and city, drawn from the speedify_cli show servers command:

<code class="text language-text">  $ speedify_cli connect us-atlanta

To connect to a specific server, pass along a two-letter country code, city, and number, drawn from the speedify_cli show servers command:

<code class="text language-text">  $ speedify_cli connect us-atlanta-3

Example:

<code class="text language-text">$ speedify_cli connect
{
    "tag":  "privateus-newark-18",
    "friendlyName": "United States - Newark #18",
    "country":  "us",
    "city": "newark",
    "num":  18,
    "isPrivate":    true,
    "torrentAllowed":   false,
    "publicIP": ["69.1.1.1"]
}

daemon exit

Causes the Speedify service to disconnect, and exit. In general, leave this alone.

directory [directory server domain]

Controls the directory server. In general, leave this alone.

dns <ip address> ...

The dns command sets the DNS servers to use for domain name resolution.

<code class="text language-text">$ speedify_cli dns 8.8.8.8
{
    "crashReports": true,
    "killswitch":   false,
    "dnsleak":  true,
    "dnsAddreses":  ["8.8.8.8"]
}

disconnect

The disconnect command disconnects from the server. It prints the state immediately after the request to disconnect is made.

<code class="text language-text">$ speedify_cli disconnect
{
    "state":    "LOGGED_IN"
}

encryption <on|off>

The encryption command enables or disables encryption of all tunneled traffic. It prints the connection settings immediately after the change is made. Note that this will clear all per-adapter encryption settings from the adapter encryption command.

<code class="text language-text">$ speedify_cli encryption off
{
    "jumboPackets": true,
    "encrypted":    false,
    "allowChaChaEncryption":    true,
    "bondingMode":  "speed",
    "startupConnect":   true,
    "transportMode":    "auto",
    "packetAggregation":    true,
    "forwardedPorts":   [{
            "protocol": "tcp",
            "port": 8001
        }],
    "perConnectionEncryptionEnabled":   false,
    "perConnectionEncryptionSettings":  [],
    "overflowThreshold":    30
}

jumbo <on|off>

The jumbo command allows the TUN adapter to accept larger MTU packets. This will set jumbo_packets to either True or False.

<code class="text language-text">$ speedify_cli jumbo on
{
    "jumboPackets": true,
    "encrypted":    false,
    "allowChaChaEncryption":    true,
    "bondingMode":  "speed",
    "startupConnect":   true,
    "transportMode":    "auto",
    "packetAggregation":    true,
    "forwardedPorts":   [{
            "protocol": "tcp",
            "port": 8001
        }],
    "perConnectionEncryptionEnabled":   false,
    "perConnectionEncryptionSettings":  [],
    "overflowThreshold":    30
}

login <username> <password>

The login command instructs Speedify to connect with the given username and password. It prints the state immediately after the request to login is made. Speedify will then proceed to automatically connect if the login succeeds.

<code class="text language-text">$ speedify_cli speedify_cli.exe login [email protected] password123
{
        "state":        "LOGGED_IN"
}

login auto

The login auto command instructs Speedify to connect to a free account with a set data limit. It prints the following state immediately after the request is made.

<code class="text language-text">$ speedify_cli speedify_cli.exe login auto
{
        "state":        "LOGGED_IN"
}

login oauth <access token>

The login oauth logs in with the user represented by encrypted token passed in. It prints the state immediately after the request to login is made. Speedify will then proceed to automatically connect if the login succeeds.

<code class="text language-text">$ speedify_cli speedify_cli.exe login oauth {encrypted_token}
{
        "state":        "LOGGED_IN"
}

logout

The logout command disconnects from the server and flushes any user credentials that were stored.

<code class="text language-text">$ speedify_cli speedify_cli.exe logout
{
        "state":        "LOGGED_OUT"
}

mode <redundant|speed>

The mode command instructs Speedify to optimize for maximum connection speed or redundancy. Valid options are speed and redundant.

<code class="text language-text">$ speedify_cli mode speed
{
    "jumboPackets": true,
    "encrypted":    false,
    "allowChaChaEncryption":    true,
    "bondingMode":  "speed",
    "startupConnect":   true,
    "transportMode":    "auto",
    "packetAggregation":    true,
    "forwardedPorts":   [{
            "protocol": "tcp",
            "port": 8001
        }],
    "perConnectionEncryptionEnabled":   false,
    "perConnectionEncryptionSettings":  [],
    "overflowThreshold":    30
}

overflow <speed in mbps>

Speed in Mbps after which Secondary connections are not used.

<code class="text language-text">$ speedify_cli overflow 10.0
{
    "jumboPackets": true,
    "encrypted":    false,
    "allowChaChaEncryption":    true,
    "bondingMode":  "speed",
    "startupConnect":   true,
    "transportMode":    "auto",
    "packetAggregation":    true,
    "forwardedPorts":   [{
            "protocol": "tcp",
            "port": 8001
        }],
    "perConnectionEncryptionEnabled":   false,
    "perConnectionEncryptionSettings":  [],
    "overflowThreshold":    10
}

packetaggr <on|off>

The packetaggr command sets packet aggregation on/off.

<code class="text language-text">$ speedify_cli packetaggr on
{
    "jumboPackets": true,
    "encrypted":    false,
    "allowChaChaEncryption":    true,
    "bondingMode":  "speed",
    "startupConnect":   true,
    "transportMode":    "auto",
    "packetAggregation":    true,
    "forwardedPorts":   [{
            "protocol": "tcp",
            "port": 8001
        }],
    "perConnectionEncryptionEnabled":   false,
    "perConnectionEncryptionSettings":  [],
    "overflowThreshold":    10
}

ports [port/proto] ...

The ports command instructs Speedify to request public ports from a Dedicated (private) Speed Server. These settings only go into effect after a reconnect, and they are ignored by public Speed Servers. Requesting a port that is already taken by another user will lead to the connect request failing, and state will return to LOGGED_IN. Calling the ports command with no additional parameters will clear the port forward requests.

<code class="text language-text">$ speedify_cli ports 8001/tcp
{
    "jumboPackets": true,
    "encrypted":    false,
    "allowChaChaEncryption":    true,
    "bondingMode":  "speed",
    "startupConnect":   true,
    "transportMode":    "auto",
    "packetAggregation":    true,
    "forwardedPorts":   [{
            "protocol": "tcp",
            "port": 8001
        }],
    "perConnectionEncryptionEnabled":   false,
    "perConnectionEncryptionSettings":  [],
    "overflowThreshold":    10
}

privacy crashreports <on|off>

Are anonymous crashreports sent back to Speedify in case of crash.

<code class="text language-text">$ speedify_cli privacy crashreports on
{
    "crashReports": true,
    "killswitch":   false,
    "dnsleak":  true,
    "dnsAddreses":  ["8.8.8.8"]
}

privacy dnsleak <on|off>

A Windows only setting to ensure DNS cannot go around the tunnel. This could make certain LAN based printers and shared drivers inaccessible.

<code class="text language-text">$ speedify_cli privacy dnsleak off
{
    "crashReports": true,
    "killswitch":   false,
    "dnsleak":  false,
    "dnsAddreses":  ["8.8.8.8"]
}

privacy killswitch <on|off>

Configures firewall rules to make it impossible to access the internet when Speedify is not connected.

<code class="text language-text">$ speedify_cli privacy killswitch off
{
    "crashReports": true,
    "killswitch":   false,
    "dnsleak":  false,
    "dnsAddreses":  ["8.8.8.8"]
}

show servers

The show servers command retrieves the current list of Speed Servers. If you have access to any Dedicated Speed Servers, they appear in a private array. The public pool of Speed Servers appear in a public array.

<code class="text language-text">$ speedify_cli show servers
{
    "public":   [{
            "tag":  "de-dusseldorf-1",
            "country":  "de",
            "city": "dusseldorf",
            "num":  1,
            "isPrivate":    false
        }, {
            "tag":  "us-philadelphia-1",
            "country":  "us",
            "city": "philadelphia",
            "num":  1,
            "isPrivate":    false
        }, {
            "tag":  "us-sf-2",
            "country":  "us",
            "city": "sf",
            "num":  2,
            "isPrivate":    false
        }, {
...

show settings

The show settings command retrieves the current connection settings. These settings are sent to the server at connect time, and they can be retrieved at any time.

<code class="text language-text">$ speedify_cli show settings
{
    "jumboPackets": true,
    "encrypted":    false,
    "allowChaChaEncryption":    true,
    "bondingMode":  "speed",
    "startupConnect":   true,
    "transportMode":    "auto",
    "packetAggregation":    true,
    "forwardedPorts":   [{
            "protocol": "tcp",
            "port": 8001
        }],
    "perConnectionEncryptionEnabled":   false,
    "perConnectionEncryptionSettings":  [],
    "overflowThreshold":    10
}

show privacy

Outputs privacy related settings

<code class="text language-text">$ speedify_cli show privacy
{
    "crashReports": true,
    "killswitch":   false,
    "dnsleak":  false,
    "dnsAddreses":  ["8.8.8.8"]
}

show adapters

The show adapters command allows the user to view all of the network adapters, and their settings and statistics.

<code class="text language-text">$ speedify_cli show adapters
[{
        "adapterID":    "{D5306735-8BD9-4F89-A1AF-F485CA23208C}",
        "description":  "Intel(R) Wireless-AC 9260 160MHz",
        "name": "Wi-Fi",
        "state":    "connected",
        "type": "Wi-Fi",
        "priority": "always",
        "connectedNetworkName": "connectify",
        "connectedNetworkBSSID":    "44:d9:e7:ff:ff:ff",
        "rateLimit":    0,
        "dataUsage":    {
            "usageMonthly": 269038,
            "usageDaily":   269038,
            "usageMonthlyLimit":    0,
            "usageMonthlyResetDay": 0,
            "usageDailyLimit":  0,
            "usageDailyBoost":  0,
            "overlimitRatelimit":   0
        }
    }, {
...

show currentserver

The show currentserver command displays the last server Speedify was connected (which, if you are connected is the current server).

<code class="text language-text">$ speedify_cli show currentserver
{
    "tag":  "privateus-newark-18",
    "friendlyName": "United States - Newark #18",
    "country":  "us",
    "city": "newark",
    "num":  18,
    "isPrivate":    true,
    "torrentAllowed":   false,
    "publicIP": ["69.1.1.1"]
}

show user

Outputs information about the currently logged in user.

<code class="text language-text">$ speedify_cli show user
{
    "email":    "[email protected]",
    "isAutoAccount":    false,
    "isTeam":   true,
    "bytesUsed":    303661734250,
    "bytesAvailable":   -1
}

show directory

The show directory command shows the current directory server.

<code class="text language-text">$ speedify_cli show directory
{
    "domain":   "dir-host-us-newark-3.speedifynetworks.com"
}

show connectmethod

The show currentserver command displays information the last server to which Speedify connected.

<code class="text language-text">$ speedify_cli show connectmethod
{
    "connectMethod":    "closest",
    "country":  "",
    "city": "",
    "num":  0
}

speedtest [showProgress]

The speedtest command runs a lengthy and bandwidth intensive test to check the upload and download speeds while using Speedify. Using speedtest showProgress reports real time information regarding the speedtest.

<code class="text language-text">$ speedify_cli speedify_cli.exe speedtest
{
        "status":       "complete",
        "connectionResults":    [{
                        "adapterID":    "speedify",
                        "step": "not running",
                        "stepProgress": 0,
                        "rttMs":        11,
                        "downloadBps":  27821054.398594771,
                        "uploadBps":    30886263.91853809
                }]
}

startupconnect <on|off>

The startupconnect option tells Speedify if it should connect automatically at startup or not. It prints the current settings immediately after the request is made.

<code class="text language-text">$ speedify_cli startupconnect on
{
    "jumboPackets": true,
    "encrypted":    false,
    "allowChaChaEncryption":    true,
    "bondingMode":  "speed",
    "startupConnect":   true,
    "transportMode":    "auto",
    "packetAggregation":    true,
    "forwardedPorts":   [{
            "protocol": "tcp",
            "port": 8001
        }],
    "perConnectionEncryptionEnabled":   false,
    "perConnectionEncryptionSettings":  [],
    "overflowThreshold":    10
}

state

The state command retrieves the current state of the connection. Possible states are LOGGED_OUT, LOGGING_IN, LOGGED_IN, AUTO_CONNECTING, CONNECTING, DISCONNECTING, CONNECTED, OVERLIMIT, and UNKNOWN

<code class="text language-text">$ speedify_cli state
{
    "state":    "CONNECTED"
}

stats [duration in seconds]

The stats command subscribes to a feed of connection and session statistics. By default, this feed will continue until the speedify_cli process is terminated, but an optional parameter can be given to stop and exit after the given number of seconds. This can be useful to monitor how many connections are being utilized by Speedify, and what their current network activity level is in bytes per second.

<code class="text language-text">$ speedify_cli stats 1
["state",
{
    "state":    "CONNECTED"
}
]

["adapters",
[{
        "adapterID":    "{D5306735-8BD9-4F89-A1AF-F485CA23208C}",
        "description":  "Intel(R) Wireless-AC 9260 160MHz",
        "name": "Wi-Fi",
        "state":    "connected",
        "type": "Wi-Fi",
        "priority": "always",
        "connectedNetworkName": "connectify",
        "connectedNetworkBSSID":    "44:d9:e7:ff:ff:ff",
        "rateLimit":    0,
        "dataUsage":    {
            "usageMonthly": 269038,
            "usageDaily":   269038,
...

transport <auto|tcp|udp>

The transport command instructs Speedify to choose between one of the network protocols auto, tcp or udp. The transport_mode value is set accordingly based on the user's selection.

<code class="text language-text">$ speedify_cli transport udp
{
    "jumboPackets": true,
    "encrypted":    false,
    "allowChaChaEncryption":    true,
    "bondingMode":  "speed",
    "startupConnect":   true,
    "transportMode":    "udp",
    "packetAggregation":    true,
    "forwardedPorts":   [{
            "protocol": "tcp",
            "port": 8001
        }],
    "perConnectionEncryptionEnabled":   false,
    "perConnectionEncryptionSettings":  [],
    "overflowThreshold":    10
}

version

The version command can be used to verify the version of Speedify that is installed and running.

<code class="text language-text">$ speedify_cli version
{
    "maj":  8,
    "min":  0,
    "bug":  1,
    "build":    6875
}

Copyright Connectify, Inc.

Still need help? Contact Us Contact Us