/testing/guestbin/swan-prep
../../guestbin/echo-server.sh -tcp -4 7 -daemon
cp east-ikev2-oe.conf /etc/ipsec.d/ikev2-oe.conf
cp policies/* /etc/ipsec.d/policies/
# the order is changed in newoe-18-poc-cop-port-7-both-reorder
echo "192.1.3.0/24 tcp 0 7"  >> /etc/ipsec.d/policies/clear-or-private
echo "192.1.3.0/24 tcp 7 0"  >> /etc/ipsec.d/policies/clear-or-private
ipsec start
../../guestbin/wait-until-pluto-started
# give OE policies time to load
../../guestbin/wait-for.sh --match 'loaded 11,' -- ipsec auto --status
echo "initdone"
