OPNsense IPsec VTI can’t establish connection.

Started by volga629, Today at 03:44:21 AM

Previous topic - Next topic
Today at 03:44:21 AM Last Edit: Today at 03:45:56 AM by volga629
Latest release IPsec is not establish VTI based tunnel, prior update everything was working  with BGP.

Versions
OPNsense 26.7.9_3-amd64
FreeBSD 15.1-RELEASE-p6
OpenSSL 3.5.9

As you see no ipsec outbound packet from firewall, where are shunt policy is installed.

Second tunnel is not establish connection at all.

On  cli

root@fw01:~ # swanctl --list-pols
no files found matching '/usr/local/etc/strongswan.opnsense.d/*.conf'
bf665be7-7931-4993-9c03-50d54c1f5c6a/2c9e658d-075b-478d-832e-118dfc95d592, reqid 20, TUNNEL
  local:  0.0.0.0/0
  remote: 0.0.0.0/0
da254f91-ea8e-49ef-b1ba-c1727fa06ec9/a9d737db-caa5-46a3-abd7-23b4a655c683, reqid 10, TUNNEL
  local:  0.0.0.0/0
  remote: 0.0.0.0/0
root@fw01:~ #
root@fw01:~ #
root@fw01:~ # swanctl --list-sas
no files found matching '/usr/local/etc/strongswan.opnsense.d/*.conf'
da254f91-ea8e-49ef-b1ba-c1727fa06ec9: #1, ESTABLISHED, IKEv2, d0d18c586249fe6e_i bd4db6166f5b61ff_r*
  local  'local public ip ' @ local public ip[500]
  remote 'remote public ip' @ remote public ip[500]
  AES_GCM_16-256/PRF_HMAC_SHA2_384/MODP_2048
  established 2383s ago, rekeying in 11269s
  a9d737db-caa5-46a3-abd7-23b4a655c683: #3, reqid 10, INSTALLED, TUNNEL, ESP:AES_GCM_16-256
    installed 2383s ago, rekeying in 1002s, expires in 1577s
    in  c40d2ec1, 137280 bytes,  4644 packets
    out c7f55d71,      0 bytes,     0 packets
    local  0.0.0.0/0
    remote 0.0.0.0/0
root@fw01:~ #