Site-to-Site IPSec VPN from private IP
Dear all,
I'm struggling to connect 2 sites with IPSec VPN.
A central firewall has a static public ip address, but the other side is behind nat and it only has private ip address(sometimes dynamically changed).
Phase 1 has been passed, but I got a phase 2 negotiation error.
I found suspicious logs in diag messages:
ike 0:Remote-IPSec_0: add peer route 169.254.1.1
ike 0:Remote-IPSec_0: add peer route failed, peer ip=169.254.1.1
Would you please tell me if there is some workaround for this issue?
Phase 2 diag logs:
(omitted Phase 1 negotiation)
ike 0:b674c784d615bb9d/0000000000000000:5298: SA proposal chosen, matched gateway Remote-IPSec
ike 0:Remote-IPSec: created connection: 0x57e33a0 5 180.149.180.99->126.236.145.247:62882.
ike 0:Remote-IPSec:5298: DPD negotiated
ike 0:Remote-IPSec:5298: selected NAT-T version: RFC 3947
ike 0:Remote-IPSec:5298: cookie b674c784d615bb9d/a73a6850fda5c98a
ike 0:Remote-IPSec:5298: ISAKMP SA b674c784d615bb9d/a73a6850fda5c98a key 16:10BDB5369F1683B2117261B395110F9D
ike 0:Remote-IPSec:5298: out B674C784D615BB9DA73A6850FDA5C98A01100400000000(omitted)
ike 0:Remote-IPSec:5298: sent IKE msg (agg_r1send): 180.149.180.99:500->126.236.145.247:62882, len=512, id=b674c784d615bb9d/a73a6850fda5c98a
ike 0: comes 126.236.145.247:27555->180.149.180.99:4500,ifindex=5....
ike 0: IKEv1 exchange=Aggressive id=b674c784d615bb9d/a73a6850fda5c98a len=100
ike 0: in B674C784D615BB9DA73A6850FDA5C98A141004000000000000000064(omitted)
ike 0:Remote-IPSec:5298: responder: aggressive mode get 2nd response...
ike 0:Remote-IPSec:5298: received NAT-D payload type 20
ike 0:Remote-IPSec:5298: received NAT-D payload type 20
ike 0:Remote-IPSec:5298: PSK authentication succeeded
ike 0:Remote-IPSec:5298: authentication OK
ike 0:Remote-IPSec:5298: NAT detected: PEER
ike 0:Remote-IPSec:5298: remote port change 62882 -> 27555
ike 0:Remote-IPSec: adding new dynamic tunnel for 126.236.145.247:27555
ike 0:Remote-IPSec_0: added new dynamic tunnel for 126.236.145.247:27555
ike 0:Remote-IPSec_0: add peer route 169.254.1.1
ike 0:Remote-IPSec_0: add peer route failed, peer ip=169.254.1.1 <-------------- I got failure message
ike 0:Remote-IPSec_0:5298: established IKE SA b674c784d615bb9d/a73a6850fda5c98a
ike 0:Remote-IPSec: set oper up
ike 0:Remote-IPSec_0:5298: no pending Quick-Mode negotiations
ike 0:Remote-IPSec: carrier up
ike 0: comes 126.236.145.247:27555->180.149.180.99:4500,ifindex=5....
ike 0: IKEv1 exchange=Quick id=b674c784d615bb9d/a73a6850fda5c98a:b2020c16 len=444
ike 0: in B674C784D615BB9DA73A6850FDA5C98A08102001B2020C16000001BC448E2 (omitted)
ike 0: comes 126.236.145.247:27555->180.149.180.99:4500,ifindex=5....
ike 0: IKEv1 exchange=Quick id=b674c784d615bb9d/a73a6850fda5c98a:b2020c16 len=444
ike 0: in B674C784D615BB9DA73A6850FDA5C98A08102001B2020C16000001BC448E2 (omitted)
ike 0: comes 126.236.145.247:27555->180.149.180.99:4500,ifindex=5....
ike 0: IKEv1 exchange=Informational id=b674c784d615bb9d/a73a6850fda5c98a:84c1ee31 len=92
ike 0: in B674C784D615BB9DA73A6850FDA5C98A0810050184C1EE310000005C01070 (omitted)
Like the following message shows many times, but Phase 2 negitiation fails...:crying_face:
ike 0: comes 126.236.145.247:27555->180.149.180.99:4500,ifindex=5....
ike 0: IKEv1 exchange=Informational id=b674c784d615bb9d/a73a6850fda5c98a:84c1ee31 len=92
ike 0: in B674C784D615BB9DA73A6850FDA5C98A0810050184C1EE310000005C0107058B5C(omitted)
Thank you.
