SWANINFO

Description

Display current configuration and connection status in strongSwan

Command

swaninfo <element> [--noresolve] 
<element> is one of the following:
	conn: Display configured connections
	conn-status: Display connection status
	ike-sa [--state=<value>]: Display IKE SAs and associated CHILD SAs
	get-counters [--name=<value>]: Display counters for all of 1 (named) connection(s)
	stats: Display statistics based on IKE status and all connections counters
	logstat: Log IKE_SA / CHILD_SA rekeyings counters and reset them plus ESTABLISHED/CONNECTING IKE_SA

Results

Example