connections {

   rw-carol {
      include swanctl_base.conf
      pools = carol-vip

      remote-psk {
         auth = psk
         id = carol@strongswan.org
      }
      remote-xauth {
         auth = xauth
         xauth_id = carol
       }
   }

   rw-dave {
      include swanctl_base.conf
      pools = dave-vip

     remote-rsa {
         auth = psk
         id = dave@strongswan.org
      }
      remote-xauth {
         auth = xauth
         xauth_id = dave
       }
   }
}

secrets {

   ike-group {
      secret = 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
   }
   xauth-carol {
      id = carol
      secret = 4iChxLT3
   }
   xauth-dave {
      id = dave
      secret = ryftzG4A
   }
}

pools {
   carol-vip {
      addrs = 10.3.0.1
   }
   dave-vip {
      addrs = 10.3.0.2
   }
}