Connecting to SBU Computer Science Palo Alto Network GlobalProtect Gateway from Red Hat

The following documentation is based on Red Hat 7

Install the vpnc package on your system from the Centos epel repository. The EPEL repository is an additional package repository that provides easy access to install packages for commonly used software.

Install epel-release. Ensure you have root privileges:
# subscription-manager repos --enable=rhel-7-server-optional-rpms

Install vpnc. Ensure you have root privileges:
# yum install vpnc

  • Connect to CS vpn. You will be prompted for 2 sets of credentials.
    IPsec ID: cs_mobile
    IPSec secret: mobile Use your Computer Science Active Directory user ID and password

Execute vpnc. Ensure you have root privileges:
# vpnc
Enter IPSec gateway address: 
Enter IPSec ID for cs_mobile
Enter IPSec secret for cs_mobile [at]
Enter username for cs\{your CS Active Directory user ID}
Enter password for cs\
VPNC started in background (pid: 26186)...

  • To verify your VPN connection, execute the ifconfig command. The tun0 interface information shows your CS VPN IP address provided by the Palo Alto Global Protect Gateway.

Successfully connecting will create a new VPN tun(n) network interface:

        inet  netmask  destination
        inet6 fe80::8b82:19c3:53dd:3f14  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 500  (UNSPEC)
        RX packets 83  bytes 83807 (81.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 88  bytes 9757 (9.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  • Disconnecting VPN connection:

$ sudo vpnc-disconnect