Installera ApexGuard på RHEL och CentOS Linux
Nedladdning av appen
Öppna terminalen och kör följande kommando för att ladda ner och installera ApexGuard Linux-klienten:
sh <(curl -sSf https://downloads.apexcdn.com/apps/linux/install.sh)
Obs: Om paketet curl inte är installerat kan du använda detta alternativa kommando:
sh <(wget -qO - https://downloads.apexcdn.com/apps/linux/install.sh)
Om du stöter på felet Whoops! Permission denied accessing /run/apexguard/apexguardd.sock löser du det genom att köra:
sudo usermod -aG apexguard $USER
- Starta sedan om systemet.
Logga in på ditt ApexGuard-konto:
apexguard login
Anslut till en server:
apexguard connect
Inställningar i ApexGuard
Öppna inställningarna genom att köra kommandot apexguard i terminalen. Här är några användbara kommandon:
Logga in eller ut:
apexguard login # Log in to your account.
apexguard logout # Log out of your account.
Anslut och koppla från:
apexguard connect # Connect to the VPN.
apexguard disconnect # Disconnect from the VPN.
apexguard connect <country_code> <server_number> # Connect to a specific server.
- Konfigurationskommandon:
Slå på/av funktionerna:
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.
Ange DNS och protokoll:
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-upptäckt:
apexguard set lan-discovery enable/disable # Toggle LAN discovery.
Vitlistning:
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.
Visa 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.
För en fullständig kommandolista, skriv:
man apexguard
Var den här artikeln till hjälp?
Tack, du hjälper oss att bli bättre!