I've created a tunnel between two sites using IPsec. I've made an error in the configuration, the address of the destination was false, so I deleted this tunnel. But after deleting, ipsec tries to establish the connection with the other site.What I get from ipsec statusall:Connections:Security Associations (1 up, 0 connecting):   TEST4[1]: CONNECTING, x.x.x.x[%any]...y.y.y.y[%any]   TEST4[1]: IKE SPIs: eb1655dd8f51750d_i* 0000000000000000_r   TEST4[1]: Tasks active: IKE_VENDOR IKE_INIT IKE_NATD IKE_CERT_PRE IKE_AUTHENTICATE IKE_CERT_POST IKE_CONFIG CHILD_CREATE IKE_AUTH_LIFETIME and from the log file I get:peer not responding, trying again (52/0)charon: 04[IKE] initiating IKE_SA TEST4[1] to y.y.y.ycharon: 04[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) ]charon: 04[NET] sending packet: from x.x.x.x[500] to y.y.y.y[500]charon: 03[IKE] retransmit 1 of request with message ID 0charon: 03[NET] sending packet: from x.x.x.x[500] to y.y.y.y[500]charon: 01[IKE] retransmit 2 of request with message ID 0charon: 01[NET] sending packet: from x.x.x.x[500] to y.y.y.y[500]charon: 14[IKE] retransmit 3 of request with message ID 0charon: 14[NET] sending packet: from x.x.x.x[500] to y.y.y.y[500]charon: 05[IKE] retransmit 4 of request with message ID 0charon: 05[NET] sending packet: from x.x.x.x[500] to y.y.y.y[500]charon: 02[IKE] retransmit 5 of request with message ID 0charon: 02[NET] sending packet: from x.x.x.x[500] to y.y.y.y[500]How can I reconfigure ipsec to be aware of the new configuration when I delete the tunnel so that it doesn't keep on trying to establish the connection even though there is no tunnel?
IPsec doesn't read configuration when the tunnel is deleted
linux kernel;vpn;ipsec