From 10.52 USD

3.27 USD mo.  + 3  Months Extra

10 devices 1 User

See All Plans

30-Day Money-Back Guarantee

Receive a full refund if ApexGuard doesn’t meet your expectations.

Special Offer | Save 60%
GET APEX

Installing ApexGuard on RHEL and CentOS Linux

Learn how to use ApexGuard

Get started and stay protected

Downloading the App

Open the terminal and run the following command to download and install the ApexGuard Linux client:

sh <(curl -sSf https://downloads.apexcdn.com/apps/linux/install.sh)

Note: If the curl package is not installed, you can use this alternative command:

sh <(wget -qO - https://downloads.apexcdn.com/apps/linux/install.sh)

If you encounter the error Whoops! Permission denied accessing /run/apexguard/apexguardd.sock, resolve it by running:

sudo usermod -aG apexguard $USER
  1. Then, reboot your system.

Log in to your ApexGuard account:

apexguard login

Connect to a server:

apexguard connect

Using ApexGuard Settings

Access the settings by typing the apexguard command in the terminal. Below is a list of useful commands:

Login and Logout:

apexguard login        # Log in to your account.
apexguard logout       # Log out of your account.

Connect and Disconnect:

apexguard connect          # Connect to the VPN.
apexguard disconnect       # Disconnect from the VPN.
apexguard connect <country_code> <server_number>  # Connect to a specific server.
  • Configuration Commands:

Enable/Disable Features:

apexguard set threatprotection on/off  # Toggle Threat Protection.
apexguard set killswitch on/off        # Toggle Kill Switch.
apexguard set autoconnect on/off       # Toggle Auto-connect.
apexguard set obfuscate on/off         # Enable/disable Obfuscated Servers.

Set DNS and Protocol:

apexguard set dns 1.1.1.1 1.0.0.1      # Set custom DNS servers.
apexguard set protocol udp/tcp         # Switch between UDP and TCP protocols.

LAN Discovery:

apexguard set lan-discovery enable/disable  # Toggle LAN discovery.

Allowlisting:

apexguard whitelist add port 22         # Allowlist incoming port 22.
apexguard whitelist remove port 22      # Remove the allowlist rule for port 22.
apexguard whitelist add subnet 192.168.0.0/16  # Allowlist a specific subnet.
apexguard whitelist remove subnet 192.168.0.0/16  # Remove the allowlist rule for the subnet.

View Information:

apexguard settings      # See current settings.
apexguard status        # View connection status.
apexguard countries     # View the country list.
apexguard cities <country_name>  # View the city list for a specific country.
apexguard groups        # See available server groups.

For a complete list of commands, type:

man apexguard

Was this article helpful?

Thank you, you're making us better!