testing/pluto/certoe-17-asymmetric-dual-clients-behind-nat-01/2-roadinit.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.0/24" >> /etc/ipsec.d/policies/private-or-clear |
| 6 | ipsec restart |
| 7 | ../../guestbin/wait-until-pluto-started |
| 8 | ipsec whack --impair suppress_retransmits |
| 9 | # give OE policies time to load |
| 10 | ../../guestbin/wait-for.sh --match 'loaded 2' -- ipsec auto --status |
| 11 | echo "initdone" |