| 1 | /testing/guestbin/swan-prepscip-shell filesystem . . `/testing/guestbin/swan-prep`. |
| 2 | ../../guestbin/echo-server.sh -tcp -4 7 -daemon |
| 3 | cpscip-shell system . . cp. east-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 | # the order is changed in newoe-18-poc-cop-port-7-both-reorder |
| 6 | echoscip-shell system . . echo. "192.1.3.0/24 tcp 0 7" >> /etc/ipsec.d/policies/clear-or-privatescip-shell filesystem . . `/etc/ipsec.d/policies/clear-or-private`. |
| 7 | echoscip-shell system . . echo. "192.1.3.0/24 tcp 7 0" >> /etc/ipsec.d/policies/clear-or-privatescip-shell filesystem . . `/etc/ipsec.d/policies/clear-or-private`. |
| 8 | ipsec start |
| 9 | ../../guestbin/wait-until-pluto-started |
| 10 | # give OE policies time to load |
| 11 | ../../guestbin/wait-for.sh --match 'loaded 11,' -- ipsec auto --status |
| 12 | echoscip-shell system . . echo. "initdone" |