Bug #8551

Routed IPsec/VTI is unable to communicate from the ipsecX interface address to a routed target

Added by Jim Pingle over 1 year ago. Updated over 1 year ago.

Very Low
Target version:
Start date:
Due date:
% Done:


Estimated time:
Affected Version:
Affected Architecture:


Breaking this away from #8544 since the feature in general works aside from this separate issue.

With routed IPsec, the VTI interface (e.g. ipsec1000) has its own address. This address can communicate with its peer at the other end of the tunnel OK, but it cannot reach a subnet routed to the peer. The packet appears on the ipsecX and enc0 interfaces but no outbound ESP packet is generated for it, as if it did not match.

Communicating LAN to LAN routed across the ipsecX interface works as expected, only communication from firewall A to the LAN subnet(s) or beyond at firewall B fails. Setting a source address for ping or ssh to a LAN address enables the firewall to reach the remote LAN, similar to what was needed for tunneled IPsec in the same situation, but in this case the firewall is picking the correct source.

It's not a regression since the behavior is similar to previous behavior, so it's not a huge problem, but it would be nice to solve it if we can.

More info at

Associated revisions

Revision a273f7bd (diff)
Added by Jim Pingle over 1 year ago

Do not put "route-to" on rules for traffic outbound from the firewall itself on ipsecX interfaces. Fixes #8551


#1 Updated by Jim Pingle over 1 year ago

This appears to be related to the automatic rules to pass traffic out from the firewall itself, for example:

pass out  route-to ( ipsec5000 ) from to ! tracker 1000010116 keep state allow-opts label "let out anything from firewall host itself" 

If I remove the route-to ( ipsec5000 ) portion of the above rule, it works. I need to do some more tests to see if it affects all route-to traffic or only this case.

#2 Updated by Jim Pingle over 1 year ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#3 Updated by Jim Pingle over 1 year ago

  • Status changed from Feedback to Resolved

Works fine now

Also available in: Atom PDF