OpenSwan IPSEC Cheat Sheet

  • daemon start/stop/restart/status: + /etc/init.d/ipsec start|stop|restart|status +

  • add a connection: + ipsec auto --add <connection name> +

  • delete a connection: + ipsec auto --delete <connection name> +

  • set up a connection: + ipsec auto --up <connection name> +

  • drop a connection: + ipsec auto --down <connection name> +

  • display current status: + ipsec auto --status +