Doing the cat command you mentioned doesn’t bring up any results. I’ll have to dig into that one. I did look at the output for /var/log/messages and didn’t see any recent entries or anything that changed when I tried to connect my VPN.
Here is the complete output of the swanctl command, with hopefully everything important removed. This is everything printed from pressing ‘Connect’ on my PC to the connection timing out on my PC.
05[NET] received packet: from <my-ip>[500] to <vpnserver-ip>[500] (408 bytes)
05[ENC] parsed ID_PROT request 0 [ SA V V V V V V V V ]
05[ENC] received unknown vendor ID: <vendor-id>
05[IKE] received MS NT5 ISAKMPOAKLEY vendor ID
05[IKE] received NAT-T (RFC 3947) vendor ID
05[IKE] received draft-ietf-ipsec-nat-t-ike-02\n vendor ID
05[IKE] received FRAGMENTATION vendor ID
05[ENC] received unknown vendor ID: <vendor-id>
05[ENC] received unknown vendor ID: <vendor-id>
05[ENC] received unknown vendor ID: <vendor-id>
05[IKE] <my-ip> is initiating a Main Mode IKE_SA
05[ENC] generating ID_PROT response 0 [ SA V V V ]
05[NET] sending packet: from <vpnserver-ip>[500] to <my-ip>[500] (136 bytes)
10[NET] received packet: from <my-ip>[500] to <vpnserver-ip>[500] (228 bytes)
10[ENC] parsed ID_PROT request 0 [ KE No NAT-D NAT-D ]
10[IKE] remote host is behind NAT
10[ENC] generating ID_PROT response 0 [ KE No NAT-D NAT-D ]
10[NET] sending packet: from <vpnserver-ip>[500] to <my-ip>[500] (212 bytes)
15[NET] received packet: from <my-ip>[4500] to <vpnserver-ip>[4500] (76 bytes)
15[ENC] parsed ID_PROT request 0 [ ID HASH ]
15[CFG] looking for pre-shared key peer configs matching <vpnserver-ip>...<my-ip>[192.168.0.125]
15[CFG] selected peer config "remote-access"
15[IKE] IKE_SA remote-access[129] established between <vpnserver-ip>[<vpnserver-ip>]...<my-ip>[192.168.0.125]
15[IKE] DPD not supported by peer, disabled
15[ENC] generating ID_PROT response 0 [ ID HASH ]
15[NET] sending packet: from <vpnserver-ip>[4500] to <my-ip>[4500] (76 bytes)
12[NET] received packet: from <my-ip>[4500] to <vpnserver-ip>[4500] (444 bytes)
12[ENC] parsed QUICK_MODE request 1 [ HASH SA No ID ID NAT-OA NAT-OA ]
12[IKE] received 3600s lifetime, configured 0s
12[IKE] received 250000000 lifebytes, configured 0
12[ENC] generating QUICK_MODE response 1 [ HASH SA No ID ID NAT-OA NAT-OA ]
12[NET] sending packet: from <vpnserver-ip>[4500] to <my-ip>[4500] (204 bytes)
02[NET] received packet: from <my-ip>[4500] to <vpnserver-ip>[4500] (60 bytes)
02[ENC] parsed QUICK_MODE request 1 [ HASH ]
02[CFG] unable to install policy <vpnserver-ip>/32[udp/l2f] === <my-ip>/32[udp/l2f] out (mark 0/0x00000000) for reqid 61, the same policy for reqid 18 exists
02[CFG] unable to install policy <my-ip>/32[udp/l2f] === <vpnserver-ip>/32[udp/l2f] in (mark 0/0x00000000) for reqid 61, the same policy for reqid 18 exists
02[CFG] unable to install policy <vpnserver-ip>/32[udp/l2f] === <my-ip>/32[udp/l2f] out (mark 0/0x00000000) for reqid 61, the same policy for reqid 18 exists
02[CFG] unable to install policy <my-ip>/32[udp/l2f] === <vpnserver-ip>/32[udp/l2f] in (mark 0/0x00000000) for reqid 61, the same policy for reqid 18 exists
02[IKE] unable to install IPsec policies (SPD) in kernel
02[KNL] deleting policy <vpnserver-ip>/32[udp/l2f] === <my-ip>/32[udp/l2f] out failed, not found
02[KNL] deleting policy <my-ip>/32[udp/l2f] === <vpnserver-ip>/32[udp/l2f] in failed, not found
02[KNL] deleting policy <vpnserver-ip>/32[udp/l2f] === <my-ip>/32[udp/l2f] out failed, not found
02[KNL] deleting policy <my-ip>/32[udp/l2f] === <vpnserver-ip>/32[udp/l2f] in failed, not found
02[IKE] sending DELETE for ESP CHILD_SA with SPI 0377937e
02[ENC] generating INFORMATIONAL_V1 request 4081609149 [ HASH D ]
02[NET] sending packet: from <vpnserver-ip>[4500] to <my-ip>[4500] (76 bytes)
13[NET] received packet: from <my-ip>[4500] to <vpnserver-ip>[4500] (76 bytes)
13[ENC] parsed INFORMATIONAL_V1 request 918370530 [ HASH D ]
13[IKE] received DELETE for ESP CHILD_SA with SPI 0377937e
13[IKE] CHILD_SA not found, ignored
10[NET] received packet: from <my-ip>[4500] to <vpnserver-ip>[4500] (92 bytes)
10[ENC] parsed INFORMATIONAL_V1 request 3801245624 [ HASH D ]
10[IKE] received DELETE for IKE_SA remote-access[129]
10[IKE] deleting IKE_SA remote-access[129] between <vpnserver-ip>[<vpnserver-ip>]...<my-ip>[
192.168.0.125
]
Sheesh that’s long…sorry for the spam.