Dear all,
Environment: Hub Spoken IPSec VPN. As the Hub end only have one/32 public IP and the interconnection address is also a private IP, I configured this IP on the Dummy interface and made the following IPSec configuration. The Spoken end is traversed through NAT on the internal network.
Hub Config:
authentication {
psk CSCN00012300 {
id CSCN00012300
id POP
secret ********
}
}
esp-group Default-ESP {
lifetime 3600
mode tunnel
pfs disable
proposal 1 {
encryption aes256
hash sha256
}
}
ike-group Default-IKE {
close-action start
dead-peer-detection {
action restart
}
key-exchange ikev1
lifetime 3600
mode aggressive
proposal 1 {
dh-group 14
encryption aes256
hash sha256
}
}
interface eth2
log {
level 2
subsystem any
}
options {
}
site-to-site {
peer CSCN00012300 {
authentication {
local-id POP
mode pre-shared-secret
remote-id CSCN00012300
}
connection-type initiate
default-esp-group Default-ESP
force-udp-encapsulation
ike-group Default-IKE
ikev2-reauth no
local-address x.x.x.x
remote-address any
vti {
esp-group Default-ESP
}
}
}
Issue: The isakmp request from Spoken to Hub can be received on the Hub side, but the Hub will redirect an error message for icmp udp port 500 unreachable
I confirm that the dummy interface IP will be used as the source IP to ping the Spoken IP, and the network is reachable
Any suggestions. Thanks~~~
Monitor Traffic:
yangbin@soonnet.com.cn@CN-SHA-PE01:~$ monitor traffic interface eth2 filter “host 218.79.117.168”
tcpdump: verbose output suppressed, use -v[v]… for full protocol decode
listening on eth2, link-type EN10MB (Ethernet), snapshot length 262144 bytes
08:55:44.145268 IP 218.79.117.168.30963 > 112.65.1.4.500: isakmp: phase 1 I agg
08:55:44.145343 IP 112.65.1.4 > 218.79.117.168: ICMP 112.65.199.4 udp port 500 unreachable, length 556
08:55:47.150916 IP 218.79.117.168.30963 > 112.65.1.4.500: isakmp: phase 1 I agg
08:55:47.150990 IP 112.65.1.4 > 218.79.117.168: ICMP 112.65.199.4 udp port 500 unreachable, length 556
08:55:53.170773 IP 218.79.117.168.30963 > 112.65.1.4.500: isakmp: phase 1 I agg
08:55:53.170845 IP 112.65.1.4 > 218.79.117.168: ICMP 112.65.199.4 udp port 500 unreachable, length 556
08:56:05.183255 IP 218.79.117.168.30963 > 112.65.1.4.500: isakmp: phase 1 I agg
08:56:05.183328 IP 112.65.1.4 > 218.79.117.168: ICMP 112.65.199.4 udp port 500 unreachable, length 556
08:56:14.207772 IP 218.79.117.168.30963 > 112.65.1.4.500: isakmp: phase 1 I agg
08:56:14.207844 IP 112.65.1.4 > 218.79.117.168: ICMP 112.65.199.4 udp port 500 unreachable, length 556
08:56:17.214938 IP 218.79.117.168.30963 > 112.65.1.4.500: isakmp: phase 1 I agg
08:56:17.215013 IP 112.65.1.4 > 218.79.117.168: ICMP 112.65.199.4 udp port 500 unreachable, length 556
08:56:23.233330 IP 218.79.117.168.30963 > 112.65.1.4.500: isakmp: phase 1 I agg
08:56:23.233407 IP 112.65.1.4 > 218.79.117.168: ICMP 112.65.1.4 udp port 500 unreachable, length 556