testing/pluto/certoe-18-pass-then-go-slash32-keyingtries1/2-road-init.sh
raw| 1 | /testing/guestbin/swan-prep --x509 |
| 2 | ipsec certutil -D -n east |
| 3 | cp road-ikev2-oe.conf /etc/ipsec.d/ikev2-oe.conf |
| 4 | cp policies/* /etc/ipsec.d/policies/ |
| 5 | echo "192.1.2.23/32" >> /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 | echo "initdone" |