Sending Netflow data over IPsec tunnel?
-
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
-
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.htmlSteve