Palo Alto NGFW lab 27 of 30

GlobalProtect in depth: Linux client, IPsec fallback, per-user settings and HIP

Run GlobalProtect from a Linux laptop and go beyond a first build. Read the tunnel from both ends, watch IPsec fall back to SSL, fix a user the gateway refuses, give contractors and executives their own client settings, enforce a Host Information Profile check on disk encryption and the host firewall, and carry one user's internet traffic through the firewall with a full tunnel.

Run this lab

It needs Standard: its 5 nodes are set to 6 vCPU and 8,704 MB in total.

In your workspace: Shared, then Palo Alto NGFW PAN-OS 11 guided labs, then 27 - GlobalProtect in depth - Linux client IPsec fallback per-user settings and HIP

Run it on Standard from £5 a day

The free demo can’t run it: it has 6 vCPU and 8 GB, and this lab’s nodes need 6 vCPU and 8,704 MB together. Every lab plan includes every guided lab.

Level
Advanced
Time
About 90 minutes
Nodes need
6 vCPU, 8,704 MB
Smallest plan
Standard

The scenario

GlobalProtect has been running at Calder for a year: a portal and gateway on 203.0.113.2, with one set of client settings called Sales. Three new requests have reached you:

  • The developers use Linux laptops, and one of them says the VPN "changes mode" in hotels. Find out what it's doing.
  • Carol in the executive team can't connect. The portal accepts her password and then it fails.
  • Bob is a contractor and should reach web01 and nothing else, from his own address range. The security team wants every laptop checked for disk encryption and a host firewall before it reaches the intranet. Carol's internet traffic must go through the firewall, not out of the hotel's network.

Laptop is the Linux laptop, outside the firewall on the internet side. The lab images include no GlobalProtect app and no openconnect, so Laptop has four small commands written for this lab:

  • gp-check USER PASSWORD walks the conversation with the portal and gateway, and stops before a tunnel.
  • gp-connect USER PASSWORD does the same, then builds the tunnel as interface gp0. Like the app, it tries IPsec first and falls back to SSL, then sends a HIP report from /etc/gp-hip.conf.
  • gp-status shows the current tunnel, and gp-disconnect logs out.

They aren't the GlobalProtect app, and their HIP report is built from that one small file. Everything the firewall does with them is real: the tunnel, the logs and the HIP matches.

This lab uses the 10.2.5 evaluation image. HIP checks need a GlobalProtect subscription, and this image carries an evaluation licence for it. On the unlicensed 11.2 image the commit warns that HIP objects "will not take effect", and the gateway never asks for a report. The firewall's clock stays at 1 August 2023 because of that licence, so its logs show that date.

Before you start. Start all the nodes. The firewall takes 10-17 minutes to boot and comes up with this lab's starting configuration already loaded. Wait until the FW1 console shows FW1 login:, then log in as admin / Lab-Access-1. Until the management plane is ready it answers Login incorrect, even with the right password. The Linux hosts are ready within seconds.

What you’ll practise

  • Read a GlobalProtect session from both ends: routes on Linux, gateway users, tunnel type and logs
  • Explain and demonstrate the fallback from IPsec to SSL
  • Find a user the gateway refuses from the logs and the authentication test
  • Select client settings per user, and explain why their order matters
  • Build HIP objects and a HIP profile, and enforce them in security policy
  • Configure a full tunnel with NAT for one group of users

The tasks

  1. Read the tunnel from both ends
  2. Watch IPsec fall back to SSL
  3. Why is Carol refused?
  4. Client settings per user
  5. Check the laptop before it gets in
  6. A full tunnel for Carol
  7. Test all of it

The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.

Topology and devices

The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.

Topology of GlobalProtect in depth - Linux client IPsec fallback per-user settings and HIP5 nodes and 3 networks, 8 links. Every link is listed as text below the diagram.FW1Client-PCweb01InternetLaptopInsideOutsideDMZeth0ethernet1/3ethernet1/1eth0eth0mgmtethernet1/2eth0
5 nodes and 3 networks, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in GlobalProtect in depth: Linux client, IPsec fallback, per-user settings and HIP, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
FW1Palo Alto Networks VM-Series (PAN-OS)paloalto-10.2.5-Pre-Licensed-Eval2 vCPU, 6,144 MB
Client-PCEVE-NG GUI server (Docker)eve-gui-server:latest1 vCPU, 1,024 MB
web01EVE-NG GUI server (Docker)eve-gui-server:latest1 vCPU, 512 MB
InternetEVE-NG GUI server (Docker)eve-gui-server:latest1 vCPU, 512 MB
LaptopEVE-NG GUI server (Docker)eve-gui-server:latest1 vCPU, 512 MB

How to open this lab

  1. Sign in to your workspace at lab.cloudlabbox.com.

  2. In File Manager, open Shared, then the folder Palo Alto NGFW PAN-OS 11 guided labs.

  3. Open 27 - GlobalProtect in depth - Linux client IPsec fallback per-user settings and HIP and start its nodes, then open Lab Tasks for the scenario and the steps.

The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.

More Palo Alto NGFW labs

All Palo Alto NGFW labs

Related labs in other courses

CloudLabBox is independent of Palo Alto Networks and Cisco. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.