Instalowanie ApexGuard na RHEL i CentOS Linux
Pobieranie aplikacji
Otwórz terminal i uruchom poniższą komendę, aby pobrać i zainstalować klienta ApexGuard dla Linuksa:
sh <(curl -sSf https://downloads.apexcdn.com/apps/linux/install.sh)
Uwaga: jeśli pakiet curl nie jest zainstalowany, możesz użyć tej alternatywnej komendy:
sh <(wget -qO - https://downloads.apexcdn.com/apps/linux/install.sh)
Jeśli napotkasz błąd Whoops! Permission denied accessing /run/apexguard/apexguardd.sock, rozwiąż go, uruchamiając:
sudo usermod -aG apexguard $USER
- Potem zrestartuj system.
Zaloguj się do konta ApexGuard:
apexguard login
Połącz się z serwerem:
apexguard connect
Obsługa ustawień ApexGuard
Uzyskaj dostęp do ustawień, wpisując komendę apexguard w terminalu. Poniżej znajduje się lista przydatnych komend:
Zaloguj / wyloguj:
apexguard login # Log in to your account.
apexguard logout # Log out of your account.
Łączenie i rozłączanie:
apexguard connect # Connect to the VPN.
apexguard disconnect # Disconnect from the VPN.
apexguard connect <country_code> <server_number> # Connect to a specific server.
- Komendy konfiguracyjne:
Włącz lub wyłącz funkcje:
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.
Ustaw DNS i protokół:
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.
Wykrywanie LAN:
apexguard set lan-discovery enable/disable # Toggle LAN discovery.
Lista zezwoleń
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.
Pokaż informacje:
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.
Aby zobaczyć pełną listę komend, wpisz:
man apexguard
Czy ten artykuł był pomocny?
Dziękujemy, dzięki Tobie stajemy się lepsi!