Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Sending Netflow data over IPsec tunnel?

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 359 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      deleteno5
      last edited by deleteno5

      I have an IPsec tunnel successfully established and am able to ping across the tunnel to the Netflow collector I have running. However, because IPsec routes aren't present in the route table and instead are managed by security policy (per https://docs.netgate.com/pfsense/en/latest/book/routing/route-troubleshooting.html#routes-and-vpns). I believe, as a result, pfSense is not able to reach the collector. I did a test to confirm that Netflow data could be exported if I sent it to a host accessible via the general routing table, and that works fine. I'm using the softflowd plugin to export data.

      Does anyone know how I can send Netflow across an IPsec tunnel, which does not propagate routes in the routing table?

      EDIT: This is resolved and working. The solution was to use routed IPsec VTI, for anyone else that happens to come across this: https://docs.netgate.com/pfsense/en/latest/vpn/ipsec/ipsec-routed.html

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        You could probably also use this workaround if you don't want or can't use VTI:
        https://docs.netgate.com/pfsense/en/latest/vpn/ipsec/accessing-firewall-services-over-ipsec-vpns.html

        Steve

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.