Need help configuring site-to-site IPSec from vyos router to linux host. Below is the vyos config pertaining to the VPN and linux host config. sh vpn ike sa shows up but the output of vpn ipsec sa shows down and no routes populate for the tunnel remote prefix. please help
vpn {
ipsec {
esp-group vyos {
compression disable
lifetime 3600
mode tunnel
pfs dh-group14
proposal 1 {
encryption aes256
hash sha512
}
ike-group vyos {
dead-peer-detection {
action restart
interval 30
timeout 120
}
ikev2-reauth no
key-exchange ikev2
lifetime 28800
proposal 1 {
dh-group 14
encryption aes256
hash sha512
}
site-to-site {
peer [vendorIPname] {
authentication {
id [Public customer IP]
mode pre-shared-secret
pre-shared-secret
}
connection-type initiate
default-esp-group vyos
ike-group vyos
ikev2-reauth inherit
local-address [Public customer IP]
tunnel 1 {
local {
prefix [customer local subnet]
}
remote {
prefix [vendor local subnet]
}
}
}
}
}
conn [name]
auto=route
type=tunnel
keyexchange=ikev2
left=%defaultroute
leftid=[public vendor IP]
leftsubnet=[vendor local subnet]
leftauth=psk
right=[public customer IP]
rightsubnet=[customer local subnet]
rightauth=psk
# Security parameters
ike=aes256-sha2_512-modp2048!
ikelifetime=8h
esp=aes256-sha2_512-modp2048!
lifetime=1h
# Retry parameters
keyingtries=%forever
dpddelay=30s
dpdtimeout=120s
dpdaction=restart
Mod Edit: Please people, wrap your config in ```