Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SWANCTL(8)			   strongSwan			      SWANCTL(8)

NAME
     swanctl - strongSwan configuration, control and monitoring command line in-
     terface.

SYNOPSIS
     swanctl command [option ...]
     swanctl -h | --help

DESCRIPTION
     swanctl  is a cross-platform command line utility to configure, control and
     monitor the strongSwan IKE daemon.  It  is  a  replacement  for  the  aging
     starter, ipsec and stroke tools.

     swanctl  uses a configuration file called swanctl.conf(5) to parse configu-
     rations and credentials. Private keys, certificates and other  PKI  related
     credentials are read from specific directories.

     To  communicate  with  the  IKE daemon, swanctl uses the VICI protocol, the
     Versatile IKE Configuration Interface. This stable interface is  usable  by
     other  tools and is often preferable than scripting swanctl and parsing its
     output.

COMMANDS
     -i, --initiate
	    initiate a connection

     -t, --terminate
	    terminate a connection

     -R, --rekey
	    rekey an SA

     -d, --redirect
	    redirect an IKE_SA

     -p, --install
	    install a trap or shunt policy

     -U, --uninstall
	    uninstall a trap or shunt policy

     -l, --list-sas
	    list currently active IKE_SAs

     -P, --list-pols
	    list currently installed policies

     -b, --load-authorities
	    (re-)load certification authorities information

     -L, --list-conns
	    list loaded configurations

     -B, --list-authorities
	    list loaded certification authorities information

     -x, --list-certs
	    list stored certificates

     -A, --list-pools
	    list loaded pool configurations

     -g, --list-algs
	    list loaded algorithms and their implementation

     -q, --load-all
	    (re-)load credentials, pools, authorities and connections

     -c, --load-conns
	    (re-)load connection configuration

     -s, --load-creds
	    (re-)load credentials

     -a, --load-pools
	    (re-)load pool configuration

     -T, --log
	    trace logging output (levels 0 and 1 only)

     -S, --stats
	    show daemon infos and statistics

     -f, --flush-certs
	    flush cached certificates

     -r, --reload-settings
	    reload strongswan.conf(5) configuration

     -V, --version
	    show daemon version information

     -h, --help
	    show usage, version and plugin information

GENERAL OPTIONS
     -v, --debug
	    set debug level, default: 1

     -+, --options
	    read command line options from file

     -u, --uri
	    service URI to connect to

SEE ALSO
     swanctl.conf(5)

6.0.7				   2015-11-20			      SWANCTL(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=swanctl&sektion=8&manpath=FreeBSD+Ports+15.1.quarterly>

home | help