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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.