r/paloaltonetworks

Palo Alto IPsec VPN is UP but traffic isn't passing — how do you troubleshoot it?
▲ 9 r/paloaltonetworks+1 crossposts

Palo Alto IPsec VPN is UP but traffic isn't passing — how do you troubleshoot it?

One of the more confusing Palo Alto VPN issues is when the IKE SA and IPsec SA are both UP, but traffic still doesn't pass.

When troubleshooting a site-to-site IPsec VPN, I usually try to avoid changing multiple settings at once and instead work through the traffic path step by step:

  • Is the VPN peer reachable?
  • Is IKE Phase 1 established?
  • Is IPsec Phase 2 established?
  • Are the IKE/IPsec proposals matching?
  • Are Proxy IDs or traffic selectors causing an issue?
  • Is there a route to the remote subnet?
  • Is the security policy matching the traffic?
  • Is NAT accidentally being applied?
  • Are VPN traffic counters increasing?
  • What do the traffic logs show?
  • If needed, where should packet capture be performed?

One thing that is easy to overlook is that a tunnel being UP doesn't necessarily mean the application traffic will work. The VPN can be perfectly established while routing, security policy, NAT, or the return path is still wrong.

I put together a practical troubleshooting guide covering these checks along with useful Palo Alto CLI commands such as:

show vpn ike-sa
show vpn ipsec-sa
show vpn flow
test vpn ike-sa gateway <gateway>
test vpn ipsec-sa tunnel <tunnel>

If anyone is troubleshooting Palo Alto IPsec VPNs, I'd be interested to hear what problem you encounter most often — Phase 1, Phase 2, routing, policy, NAT, or something else.

For anyone who wants the full troubleshooting flow, I documented it here:

Palo Alto IPsec VPN Troubleshooting: Common Problems and Solutions

u/samsh92 — 12 days ago

Unable to access a few websites?

Hi all. My company has a sister company that just replaced their existing (non-PA) firewall with a PA-1410. Yay! I wasn't involved with the set-up but my company also has a PA so I'm pretty familiar with them. Definitely not an expert.

Issue: The sister company is having an issue where they cannot access a few websites (they receive a "This site can't be reached. ERR_CONNECTION_TIMED_OUT" error).

What I’ve done so far:

 

  • Verified I’m unable to ping neither the URL nor IP address of each website from a PC there on LAN
  • Nslookup on each website. Each one resolves the name/IP
  • Monitor – Traffic – (addr.dst in <IP of each website>) – Apply Filter = No results
  • Monitor – URL Filtering – (url contains <each URL>) – Apply Filter = No results
  • Monitor – Logs – Decryption = Nothing shows (no decryption failures)
  • Objects – Security Profiles – Anti-Spyware. = The two policies (Default & Strict) matches my company's PA firewall and I can access all 3 websites so don’t think this is it.
  • Objects – Custom Objects – URL Category = Nothing

I'm at a loss! Is it possible that these 3 websites fall under the block category under Objects – Security Profiles – URL Filtering? But it only has the “default” and my company's PA has the “default” as well and I can access those websites so probably not that. I’m not seeing anything under Monitor so it’s like they’re not even hitting the firewall at all, but they’re not pinging which leads me to believe something firewall-related. Any suggestions or anything else to check?

reddit.com
u/Ben_Waffleburger — 10 days ago