Installation af ApexGuard på RHEL og CentOS Linux
Hent ApexGuard-appen
Åbn terminalen, og kør følgende kommando for at downloade og installere ApexGuard Linux-klienten:
sh <(curl -sSf https://downloads.apexcdn.com/apps/linux/install.sh)
Bemærk: Hvis pakken curl ikke er installeret, kan du bruge denne alternative kommando:
sh <(wget -qO - https://downloads.apexcdn.com/apps/linux/install.sh)
Hvis du får fejlen Whoops! Permission denied accessing /run/apexguard/apexguardd.sock, kan du løse den ved at køre:
sudo usermod -aG apexguard $USER
- Genstart derefter systemet.
Log ind på din ApexGuard-konto:
apexguard login
Forbind til en server:
apexguard connect
Indstillinger i ApexGuard
Åbn indstillingerne ved at skrive apexguard i terminalen. Her er en liste over nyttige kommandoer:
Log ind og log ud:
apexguard login # Log in to your account.
apexguard logout # Log out of your account.
Forbind og afbryd VPN:
apexguard connect # Connect to the VPN.
apexguard disconnect # Disconnect from the VPN.
apexguard connect <country_code> <server_number> # Connect to a specific server.
- Konfigurationskommandoer:
Slå funktioner til og fra:
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.
Angiv DNS og protokol:
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-opdagelse:
apexguard set lan-discovery enable/disable # Toggle LAN discovery.
Tilladt liste:
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.
Vis oplysninger:
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.
Se hele kommandolisten ved at skrive:
man apexguard
Var denne artikel nyttig?
Tak, du hjælper os med at blive bedre!