written by
@dylanngo95
(styled by@zudsniper)
sudo apt update -y && sudo apt upgrade -yDownload GlobalProtect for Linux
Navigate to the downloaded file & use the following, depending on your Linux distro, to extract.
tar -xvzf PanGPLinux-5.0.8-c6.tgz-
[Ubuntu/Debian]sudo dpkg – i GlobalProtect_deb-5.0.8.deb
-
[Redhat/CentOS]sudo yum localinstall GlobalProtect_rpm-5.0.8.rpm`
user@ubuntu:~$ globalprotect
Current GlobalProtect status: OnDemand mode.
>> connect –portal vpn.example.com
Retrieving configuration…
vpn.wsu.edu – Authentication Failed. Enter login credentials
username(user):user
Password:
Discovering network…
Connecting…
Connected>> disable
>> disconnect
>> show –version
>> show –status
>> show –detailsUsing the terminal window and in globalprotect mode, run the collect-log command to create the support file.
user@ubuntu:~$ globalprotect
Current GlobalProtect status: Connected
>>
>> collect-log
Start collecting…
collecting network info…
collecting machine info…
copying files…
generating final result file…
The support file is saved to /home/user/.GlobalProtect/Collect.tgzCOMMAND: Specifies the action to perform. It can be one of the following:
collect-log -- collect log information
connect -- connect to server
disconnect -- disconnect
disable -- disable connection
import-certificate -- import client certificate file
quit -- quit from prompt mode
rediscover-network -- network rediscovery
remove-user -- clear credential
resubmit-hip -- resubmit HIP information
set-log -- set debug level
show -- show information