How to capture and analyze IPSEC traffic or why do I see un-encrypted packets going through an IPSEC tunnel

Solution Unverified - Updated -

Issue

  • While running Openswan VPN is it possible to troubleshoot VPN traffic that flows into the ipsec tunnel?
  • Apparently using tcpdump it's not possible to see the traffic going into the tunnel.
  • Is it somehow possible to trace traffic that goes into the tunnel or is rejected/dropped by the tunnel?

Environment

  • Red Hat Enterprise Linux
  • ipsec tunnel based on Openswan

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content