Встановлення ApexGuard на RHEL і CentOS Linux
Завантаження софту
Відкрийте термінал і виконайте таку команду, щоб завантажити та встановити клієнт ApexGuard для Linux:
sh <(curl -sSf https://downloads.apexcdn.com/apps/linux/install.sh)
Примітка: Якщо пакет curl не встановлено, скористайтеся цією альтернативною командою:
sh <(wget -qO - https://downloads.apexcdn.com/apps/linux/install.sh)
Якщо виникає помилка Whoops! Permission denied accessing /run/apexguard/apexguardd.sock, вирішіть її, виконавши:
sudo usermod -aG apexguard $USER
- Потім перезапустіть систему
Увійдіть у свій акаунт ApexGuard:
apexguard login
Підключення до сервера
apexguard connect
Налаштування ApexGuard
Відкрийте налаштування, ввівши команду apexguard у терміналі. Нижче наведено список корисних команд:
Вхід/вихід з VPN:
apexguard login # Log in to your account.
apexguard logout # Log out of your account.
Підключення/відключення:
apexguard connect # Connect to the VPN.
apexguard disconnect # Disconnect from the VPN.
apexguard connect <country_code> <server_number> # Connect to a specific server.
- Команди налаштування:
Увімкнення та вимкнення:
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.
Зміна DNS і протоколу:
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:
apexguard set lan-discovery enable/disable # Toggle LAN discovery.
Білий список:
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.
Показ інформації:
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.
Щоб переглянути список команд, введіть:
man apexguard
Ця стаття була корисною?
Дякуємо, ви допомагаєте нам ставати кращими!