IPSec VPN, once configured, can be established in two ways.
However 'establish-tunnels immediately' may trigger an undesirable outcome, when configured on both ends of the tunnel.
With 'establish-tunnels immediately' statement configured on both ends of the tunnel, the tunnel will be established even without allowing IKE as host-inbound-traffic on an IKE listener interface.
The knob "host-inbound-traffic" only checks for allowing incoming IKE packets. Without allowing IKE, the VPN comes UP as the said SRX becomes the initiator and the host-inbound-traffic (IKE) is not required.
This is expected behavior when establish-tunnels immediately is configured on both ends of the tunnel. See below: Example topology:
SRX_A ge-0/0/0.0 --- ge-0/0/0.0 SRX_B
Session ID: 105097, Policy name: self-traffic-policy/1, Timeout: 42, Valid In: 10.1.1.2/500 --> 10.1.1.1/500;udp, If: .local..0, Pkts: 7, Bytes: 1352 Out: 10.1.1.1/500 --> 10.1.1.2/500;udp, If: ge-0/0/0.0, Pkts: 5, Bytes: 1220
2019-06-21: updated title, and added 'cause' notes.