| 1 | /testing/guestbin/swan-prepscip-shell filesystem . . `/testing/guestbin/swan-prep`. --x509 |
| 2 | ipsec certutil -D -n east |
| 3 | cpscip-shell system . . cp. road-ikev2-oe.conf /etc/ipsec.d/ikev2-oe.confscip-shell filesystem . . `/etc/ipsec.d/ikev2-oe.conf`. |
| 4 | cpscip-shell system . . cp. policies/* /etc/ipsec.d/policies/scip-shell filesystem . . `/etc/ipsec.d/policies/`. |
| 5 | echoscip-shell system . . echo. "192.1.2.23/32" >> /etc/ipsec.d/policies/private-or-clearscip-shell filesystem . . `/etc/ipsec.d/policies/private-or-clear`. |
| 6 | ipsec start |
| 7 | ../../guestbin/wait-until-pluto-started |
| 8 | # give OE policies time to load |
| 9 | ../../guestbin/wait-for.sh --match 'loaded 10,' -- ipsec auto --status |
| 10 | echoscip-shell system . . echo. "initdone" |