Applies to · qoriq/generic · OpenWrt SNAPSHOT · swanctl
What to check
Investigate at three points: exit of the boot script, charon process, and control socket.
Connect over Ethernet and run the following commands in an SSH session on the router.
/etc/init.d/swanctl status
logread -e charon
How to interpret the result
If charon is not present, first check whether the initialization script exits prematurely due to an old global IPsec configuration. If the process is running but control queries fail, verify the VICI socket and permissions. Then select the service entry based on the current configuration method.
Verify and recover
Check that charon answers control requests and negotiates an authorized test connection. Restore saved configuration sections if necessary, preserving keys and certificates.
Related guide · Identify a new device from OpenWrt lease and access logs
Comments